Simulink.TimeInfo

Provide information about time data in Simulink.Timeseries object

Description

Simulink® software creates instances of these objects to describe the time data that it includes in Simulink.Timeseries objects.

Properties

Name

Access

Description

Units

RW

The units, e.g., 'seconds', in which the time series data are expressed in the associated Simulink.Timeseries object.

Start

RW

If the associated signal is not in a conditionally executed subsystem, this field contains the simulation time of the first signal value recorded in the associated Simulink.Timeseries object. If the signal is in a conditionally executed subsystem, this field contains an array of times when the system became active.

end

RW

If the associated signal is not in a conditionally executed subsystem, this field contains the simulation time of the last signal value recorded in the associated Simulink.Timeseries object. If the signal is in a conditionally executed subsystem, this field contains an array of times when the system became inactive.

Increment

RW

The interval between simulation times at which signal data is logged in the associated Simulink.Timeseries object. If the signal is aperiodic (continuous signal with variable-step solver), this property has a value of NaN. A signal is periodic if it has a discrete sample time (not continuous or constant) or is continuous with a fixed-step solver.

Length

W

The number of signal samples recorded in the associated Simulink.Timeseries object, i.e., the length of the arrays referenced by the object's Time and Data properties.

Was this topic helpful?