Simulink.Timeseries
(To be removed) Access logged signal data
The Simulink.Timeseries
object will be removed in a future release. The
ability to log and load data using the ModelDataLogs
format has been removed.
Use another supported format, instead. For more information, see Version History.
Description
The Simulink.Timeseries
object contains the data logged from
simulation for a signal along with metadata. Logged data for a mux or bus is stored as a
Simulink.TSArray
object that contains a
Simulink.Timeseries
object for each element.
Creation
Prior to R2016a, you could configure a model to log data using the
ModelDataLogs
format. Simulating a model with the
Signal logging format parameter set to
ModelDataLogs
created a Simulink.ModelDataLogs
object that contained the data for all logged signals. You could specify the name for the
ModelDataLogs
object using the Signal logging
name parameter.
The structure of the Simulink.ModelDataLogs
object reflects the structure
of the model.
One or more
Simulink.Timeseries
objects contain data for one or more signals logged in the model theModelDataLogs
object represents.One or more
Simulink.TSArray
objects contain theSimulink.Timeseries
andSimulink.TSArray
objects for one or more muxes or buses logged in the model theModelDataLogs
object represents.One or more
Simulink.SubsysDataLogs
objects contain theSimulink.Timeseries
,Simulink.TSArray
,Simulink.SubsysDataLogs
, andSimulink.ModelDataLogs
objects for data logged inside subsystems in the model theModelDataLogs
object represents.One or more
Simulink.ModelDataLogs
objects contain theSimulink.Timeseries
,Simulink.TSArray
,Simulink.SubsysDataLogs
, andSimulink.ModelDataLogs
objects for data logged inside model references in the model theModelDataLogs
object represents.