slreportgen.utils.traceSignal
Trace signal to source or destination
Syntax
Description
[
traces the signal entering or leaving the specified port to the nonvirtual source or
destination. If blks
,ports
,portnums
] = slreportgen.utils.traceSignal(port
)port
is an input port, the function returns the
nonvirtual source block, port, and port number of the signal. If port
is an output port, slreportgen.utils.traceSignal
returns the nonvirtual
destination blocks, ports, and port numbers of the signal. If the function is unable to
trace the signal, it returns -1
as the value of
blks
.
[
traces the signal entering or leaving the ports specified by blks
,ports
,portnums
] = slreportgen.utils.traceSignal(portArray
)portArray
to the nonvirtual sources or destinations. If the first port in
portArray
is an output port, the function treats all the ports as
output ports. If the first port is an input port, the function treats all the ports as input
ports. If the function is unable to trace a signal, the blks
cell
array contains a -1 for the entry corresponding to the untraceable port.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b