| Stateflow User's Guide | ![]() |
Defining Temporary Data
Stateflow allows functions (graphical, truth table, and Embedded MATLAB) to define temporary data that persists only as long as the function is active. Only the function can access its temporary data. For example, defining a loop counter to have Temporary scope might be a good idea if it is used only as a temporary counter that does not need to persist after the function completes.
| Adding Data to the Data Dictionary | Setting Data Properties in the Data Dialog | ![]() |
© 1994-2005 The MathWorks, Inc.