Data values during simulation
Use Stateflow.SimulationData.Data
to log the values of local and
output data during simulation.
In the Symbols pane, select a local or output data object.
In the Property Inspector, under Logging, select the Log signal data check box.
plot | Plot simulation output data in the Simulation Data Inspector |