Stateflow | ![]() ![]() |
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.
![]() | Defining Edge-Triggered Output Events | Interface to External Sources | ![]() |