simscape.logging.Series class

Package: simscape.logging

Represent time-value series for simulation data

Description

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.

Properties

points

Size or number of steps in the simulation series.

dimension

Dimension of variable represented by the series.

unit

The default unit associated with the values in the series.

Methods

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 in the MATLAB® Programming Fundamentals documentation.

Was this topic helpful?