Container for signal logging information
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.
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 |
Block path for the source block for the signal
Simulink.SimulationData.BlockPath
RW
Name of signal element to use for name-based access
character vector
RW
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
Numeric index of port that was logged
scalar real integer
RW
Type of port that was logged: for signal logging, the port type
is 'outport'
character vector
RW
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_bus
example,
see “Logging Signal Data.”
MATLAB® timeseries
object
Structure 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
object
Structure 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