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 |
---|---|
BlockPath | Block path for the source block for the signal |
Name | Name of signal element to use for name-based access |
PropagatedName | Propagated signal name, if any |
PortIndex | Numeric index of port that was logged |
PortType | Type of port that was logged: for signal logging, the port
type is 'outport' |
Values | Time and data that were logged |
Properties
BlockPath
Block path for the source block for the signal
Simulink.SimulationData.BlockPath
RW
Name
Name of signal element to use for name-based access
character vector
RW
PropagatedName
Propagated name of signal element
Signal logging and root Outport block logging data for a signal
captures the propagated signal name if the logging format is Dataset
and:
For signal logging, you:
Mark the signal for signal logging and in the Signal Properties dialog box select Show Propagated Signals.
Enable Configuration Parameters > Data Import/Export > Signal logging.
For root Outport block logging, you select Configuration Parameters > Data Import/Export > Output.
The propagated signal name does not include angle brackets (<>
).
character vector
RO
PortIndex
Numeric index of port that was logged
scalar real integer
RW
PortType
Type of port that was logged: for signal logging, the port type
is 'outport'
character vector
RW
Values
Time and data that were logged.
For an example of how to use the Values
property and plot logged signal
data, see Logging Intervals.
MATLAB®
timeseries
objectStructure of MATLAB
timeseries
objects (for bus signals)Array of structures of MATLAB
timeseries
objects (for array of buses signals)Array of MATLAB
timeseries
objects (for nonbus signals in a For Each subsystem)MATLAB
timetable
objectStructure of MATLAB
timetable
objects (for bus signals)Array of structures of MATLAB
timetable
objects (for array of buses signals)Cell array of MATLAB
timetable
objects (for nonbus signals in a For Each subsystem)
RW