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.

Topics

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