Stateflow® can create enumerated data that represents the current active state during simulation. The data can be output to Simulink® or used as local data. This active state data can be used to drive Simulink subsystems or it can be logged for diagnostics.
Creation of data to monitor state activity.
Active state data can simplify your design
Modify state activity data to be local scope
Design constructs that do not support state activity data