Stateflow.SimulationData.State
Logged state activity
Description
Use Stateflow.SimulationData.State objects to view the logged
      activity of a state.
Creation
- 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. 
- Simulate the model. The signal logging object generated in the MATLAB® workspace contains the - Stateflow.SimulationData.Stateobject. Specify the name of the signal logging object using the Signal logging (Simulink) model configuration parameter.
Properties
Object Functions
| plot(Simulink) | Plot data in Simulation Data Inspector | 
Examples
Version History
Introduced in R2017b
See Also
Stateflow.SimulationData.Data | Simulink.SimulationData.BlockPath (Simulink) | timeseries | plot (Simulink)