how to define variable as persistence in stateflow ?

2 views (last 30 days)
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

Find more on Complex Logic in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!