Stateflow User's Guide Previous page   Next Page

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.


Previous page  Adding Data to the Data Dictionary Setting Data Properties in the Data Dialog Next page

© 1994-2005 The MathWorks, Inc.