Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Simulink.SimulationData.Signal

Container for signal logging information

Description

Simulink® uses Simulink.SimulationData.Signal objects to store signal logging information during simulation. The objects contain information about the source block for the signal, including the port type and index.

Property Summary

Name

Description

BlockPathBlock path for the source block for the signal
NameName of signal element to use for name-based access
PortIndexNumeric index of port that was logged
PortTypeType of port that was logged: for signal logging, the port type is 'outport'
ValuesTime and data that were logged

Properties

BlockPath

Description

Block path for the source block for the signal

Data Type

Simulink.SimulationData.BlockPath

Access

RW

Name

Description

Name of signal element to use for name-based access

Data Type

string

Access

RW

PortIndex

Description

Numeric index of port that was logged

Data Type

string

Access

RW

PortType

Description

Type of port that was logged: for signal logging, the port type is 'outport'

Data Type

string

Access

RW

Values

Description

Time and data that were logged.

For an example of how to use the Values property and plot logged signal data, in the sldemo_mdlref_bussldemo_mdlref_bus example, see "Logging Signal Data."

Data Type

A single MATLAB® timeseries object or a MATLAB structure of timeseries objects (for bus signals)

Access

RW

See Also

| |

Was this topic helpful?