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

This model shows the use of Superstep semantics on a Stateflow® chart which allows the chart to repeatedly take all possible transitions from the current state to get to a stable state configuration before going to the next simulation step. This example shows two exactly identical Stateflow charts except that one has the Superstep mode disabled and the other has the Superstep mode enabled.

Run the simulation and compare the output from the two charts on the scopes. You will notice that in the output from the chart 'Without Superstep' the value changes in steps till it reaches its final steady state whereas in the chart 'With Superstep' the value immediately reaches its steady state because of the Superstep semantics.

Was this topic helpful?