This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.


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.

Was this topic helpful?