I have a model that uses chart parented temporary scope data created in Stateflow 5.1.1 (R13SP1). Chart parented temporary scope data was made obsolete in R14. When I open my model in R14 and later, the temporary scope data gets marked as local scope data. This results in a change in behavior, since unlike temporary scope data the local scope data retains its value for successive chart activations. I would like to know how I can upgrade my model without changing its behavior related to the use of temporary scope data.
MATLAB: How to upgrade a model with a chart parented temporary scope data to Stateflow 6.0 (R14) and later
changecounterdifferforlocallooploopsreleasescopestateflowvariable
Related Question
- Can I access Stateflow chart data in Simulink Functions without passing it as an input to the Simulink function
- Do I receive the warning unconditional transition shadows other transitions
- Can I not use implicit change events on data fed into a Stateflow chart from Simulink
- Meaning of the statement in Stateflow
- Am I unable to read variables in the MATLAB workspace from a Stateflow chart in Stateflow 5.1.1 (R13SP1) and earlier versions
- Can I create a straight-line default transition using the Stateflow API
- Can states in Stateflow charts be listed in order of execution in a generated report by Simulink Report Generator
Best Answer