This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Active State Data

Output self, child, or leaf active state data to monitor chart activity

Stateflow® can create output and local data to represent the current active state during simulation. Use active state output data to drive Simulink® subsystems. Log active state data for diagnostics.


Monitor State Activity Through Active State Data

Automatically track which state is active during simulation.

Simplify Stateflow Charts by Incorporating Active State Output

Add active state outputs to simplify the design of a chart.

View State Activity by Using the Simulation Data Inspector

Monitor active state data through the Simulation Data Inspector.

Check State Activity by Using the in Operator

Determine if a state is active during chart execution.

Related Information

Featured Examples