From 8ba37e1612fa8635884572177b21f67f9a785e27 Mon Sep 17 00:00:00 2001 From: Colin Eles Date: Tue, 30 Nov 2010 18:35:59 +0000 Subject: [PATCH] latest update git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/trunk/TableTool@6612 57e6efec-57d4-0310-aeb1-a6c144bb1a8b --- html/TT_ug_saving.m | 11 ++++++++++- html/html/TT_ug_saving.html | 13 +++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/html/TT_ug_saving.m b/html/TT_ug_saving.m index 4a897a5..c2d7f1b 100644 --- a/html/TT_ug_saving.m +++ b/html/TT_ug_saving.m @@ -1,6 +1,15 @@ %% Saving a Table % -%% Saving to Simulink +%% Saving to Block +% +% Saving to a block will either save to an existing simulink block or +% create a new simulink block for the current table. Saving to a block is +% the default save option so if the "Save" button is pressed it will +% perform this action. +% +% If changes are made in the table interface they will not be updated in +% the simulink block until saving is performed, it is important to remember +% to save before closing the interface. % %% Saving to an M-File % diff --git a/html/html/TT_ug_saving.html b/html/html/TT_ug_saving.html index 7cf7917..7c074f4 100644 --- a/html/html/TT_ug_saving.html +++ b/html/html/TT_ug_saving.html @@ -62,12 +62,21 @@ p.footer { color: gray; } -

Saving a Table

Contents

Saving to Simulink

Saving to an M-File

The Table Toolbox allows for users to save their table as an m-function. This allows the function to be called from Matlab scripts or functions; users can also run the function from the command line as a quick way of testing functionality.

To save a table to an m-file select the "save to m-file" command from the file menu as seen in the following screen shot.

The toolbox will create a file with the name expression_name.m, where expression_name is the name of your expression. The function can then be called as you would any other function in Matlab, ie. expression_name(arg1,arg2,...)

Saving a Table

Contents

Saving to Block

Saving to a block will either save to an existing simulink block or create a new simulink block for the current table. Saving to a block is the default save option so if the "Save" button is pressed it will perform this action.

If changes are made in the table interface they will not be updated in the simulink block until saving is performed, it is important to remember to save before closing the interface.

Saving to an M-File

The Table Toolbox allows for users to save their table as an m-function. This allows the function to be called from Matlab scripts or functions; users can also run the function from the command line as a quick way of testing functionality.

To save a table to an m-file select the "save to m-file" command from the file menu as seen in the following screen shot.

The toolbox will create a file with the name expression_name.m, where expression_name is the name of your expression. The function can then be called as you would any other function in Matlab, ie. expression_name(arg1,arg2,...)