Stateflow.SimulationData.Data
Data values during simulation
Description
Use Stateflow.SimulationData.Data
to log the values of local and
output data during simulation.
Creation
In the Symbols pane, select a local or output data object.
In the Property Inspector, under Logging, select the Log signal data check box.
Properties
Object Functions
plot (Simulink) | Plot data in Simulation Data Inspector |
Examples
Tips
Stateflow.SimulationData.Data
objects record a data point every time that the Stateflow chart writes to the data you are logging, even if the data does not change value. For example, in Access Logged Data, the data points with values of0
correspond to when the chart initializes the local dataservice
to0
at time0
and when a default transition setsservice
to0
at time1.7076e+06
.
Version History
Introduced in R2017b
See Also
Stateflow.SimulationData.State
| Simulink.SimulationData.BlockPath
(Simulink) | timeseries
| plot
(Simulink)