State activity during simulation
Use Stateflow.SimulationData.State
to log the activity of a state
during simulation.
In the Stateflow® Editor, select a state.
In the Simulation tab, in Prepare, select Log Self Activity. Alternatively, in the Property Inspector,under Logging, select the Log self activity check box.
plot | Plot simulation output data in the Simulation Data Inspector |