Stateflow.SimulationData.Data
Logged Stateflow data values
Description
Use Stateflow.SimulationData.Data
objects to view logged
Stateflow® data from local and output data.
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.
Simulate the model. The signal logging object generated in the MATLAB® workspace contains the
Stateflow.SimulationData.Data
object. 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
Tips
Stateflow.SimulationData.Data
objects record a data point every time that the Stateflow chart writes to the data, even if the data does not change value.For multiple writes in the same time step to the same data, Stateflow logs both writes as two separate entries.
Version History
Introduced in R2017b
See Also
Stateflow.SimulationData.State
| Simulink.SimulationData.BlockPath
(Simulink) | timeseries
| plot
(Simulink)