Stateflow    

Defining Temporary Data

Stateflow allows stateless charts and graphical functions to define temporary data that persists only as long as the chart or graphical function is active. Only the parent chart or graphical function can access the temporary data. Defining a loop counter to be Temporary is a good use of this Scope since the value is used only as a counter and the value does not need to persist.


 Associating Ports with Data Exporting Data