Simulink.Timeseries
(Removed) Access logged signal data
Support for the Simulink.Timeseries object has been removed. Use another
supported format, such as Dataset, 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.Timeseriesobjects contain data for one or more signals logged in the model theModelDataLogsobject represents.One or more
Simulink.TSArrayobjects contain theSimulink.TimeseriesandSimulink.TSArrayobjects for one or more muxes or buses logged in the model theModelDataLogsobject represents.One or more
Simulink.SubsysDataLogsobjects contain theSimulink.Timeseries,Simulink.TSArray,Simulink.SubsysDataLogs, andSimulink.ModelDataLogsobjects for data logged inside subsystems in the model theModelDataLogsobject represents.One or more
Simulink.ModelDataLogsobjects contain theSimulink.Timeseries,Simulink.TSArray,Simulink.SubsysDataLogs, andSimulink.ModelDataLogsobjects for data logged inside model references in the model theModelDataLogsobject represents.