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.
Automatically track which state is active during simulation.
Monitor active state data through the Simulation Data Inspector.
Determine if a state is active during chart execution.