Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Superstep Cycle (Throw Error)

This example shows 'Throw Error' 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 throws an error after a certain number of transitions.

Double click on the Stateflow chart named 'Super Step Cycle' to open it. Notice the cycle in the states. Run the simulation and notice the Error Message Dialog box that appears.

Was this topic helpful?