simscape.logging.Series class

Package: simscape.logging

Represent time-value series for simulation data


This class represents simulation data for a variable in a model. The series is a representation containing time-value pairs for each simulation step. The size of the series is determined by the number of simulation steps. You can also limit the size by specifying the maximum number of logged steps when you set your data logging preferences.

You cannot construct an object of this class. The object is constructed automatically during simulation, as part of the simulation log workspace variable, if you enable data logging for the model.



Size or number of steps in the simulation series.


Dimension of variable represented by the series.


The default unit associated with the values in the series.


Thermal unit conversion type (absolute or relative). For more information, see Thermal Unit Conversions.


plotPlot series values against time
plotxyPlot two series against each other
timeExtract time vector from simulation series
valuesExtract values vector from simulation series

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects (MATLAB) in the MATLAB® Programming Fundamentals documentation.