| Stateflow User's Guide | ![]() |
MATLAB Workspace Interfaces
The MATLAB workspace is an area of memory normally accessible from the MATLAB command line. It maintains a set of variables built up during a MATLAB session.
Examining the MATLAB Workspace in MATLAB
Two commands, who and whos, show the current contents of the workspace. The who command gives a short list, while whos also gives size and storage information.
To delete all the existing variables from the workspace, enter clear at the MATLAB command line.
See the MATLAB online or printed documentation for more information.
Interfacing the MATLAB Workspace in Stateflow
Stateflow charts have the following access to the MATLAB workspace:
ml namespace operator or the ml function.
See Using MATLAB Functions and Data in Actions for more information.
See the subsection Initialize from of the topic Setting Data Properties in the Data Dialog.
See Save final value to base workspace for more information.
| Creating Chart Libraries | Interface to External Sources | ![]() |
© 1994-2005 The MathWorks, Inc.