MATLAB Examples

Superstep Cycle (Proceed)

This example shows 'Proceed' mode behaviour for the Superstep semantics for Stateflow® charts. Please see the documentation for help on selecting this mode for the Stateflow chart. Once this mode is turned on, whenever there is a cycle or there are too many transitions in the possible transition path from the current state during a Superstep, the chart just proceeds to the next simulation step with the last active state configuration.

Double click on the Stateflow chart named 'Superstep Cycle' to open it. Notice the cycle in the states. Run the simulation and notice that the simulation continues without any errors.