By enabling active state data as an output, the data is made available through an output data port to Simulink®. This data signal can be:
Viewed using a scope.
Logged for diagnostics.
Used to drive another subsystem.
Using active state data output can simplify the design in some Stateflow® charts. You do not have to explicitly update data used to track state activity. For an example, see