how to define variable as persistence in stateflow ?

I observed that local variable retain the previous loop value but for generating autocode from stateflow. How local variable will be treated ? what property of the variable need to set to tell RTW that this local variable should be treated as persistent memory and these are not ? I don't want all variable to be treated as persistence for memory constrain prospective.
Thanks

Answers (0)

Categories

Asked:

on 2 Mar 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!