To make changes, update the M-file and republish this document.
--><title>Saving a Table</title><metaname="generator"content="MATLAB 7.10"><metaname="date"content="2010-11-30"><metaname="m-file"content="TT_ug_saving"><style type="text/css">
body{
background-color:white;
margin:10px;
}
h1{
color:#990000;
font-size:x-large;
}
h2{
color:#990000;
font-size:medium;
}
/* Make the text shrink to fit narrow windows, but not stretch too far in
wide windows. */
p,h1,h2,div.contentdiv{
max-width:600px;
/* Hack for IE6 */
width:auto!important;width:600px;
}
pre.codeinput{
background:#EEEEEE;
padding:10px;
}
@mediaprint{
pre.codeinput{word-wrap:break-word;width:100%;}
}
span.keyword{color:#0000FF}
span.comment{color:#228B22}
span.string{color:#A020F0}
span.untermstring{color:#B20000}
span.syscmd{color:#B28C00}
pre.codeoutput{
color:#666666;
padding:10px;
}
pre.error{
color:red;
}
p.footer{
text-align:right;
font-size:xx-small;
font-weight:lighter;
font-style:italic;
color:gray;
}
</style></head><body><divclass="content"><h1>Saving a Table</h1><!--introduction--><!--/introduction--><h2>Contents</h2><div><ul><li><ahref="#1">Saving to Simulink</a></li><li><ahref="#2">Saving to an M-File</a></li></ul></div><h2>Saving to Simulink<aname="1"></a></h2><h2>Saving to an M-File<aname="2"></a></h2><p>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.</p><p>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.</p><p><imgvspace="5"hspace="5"src="ug_save_1.png"alt=""></p><p>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,...)</p><pclass="footer"><br>
Published with MATLAB® 7.10<br></p></div><!--
##### SOURCE BEGIN #####
%% Saving a Table
%
%% 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.
%
% <<ug_save_1.png>>
%
% 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.