inputMode = Simulink.sdi.getSignalInputProcessingMode(blkPath,port)
returns the value of the Input Processing property for the signal
produced by the specified block and port. The Input Processing property
specifies whether to log the signal as sample-based or frame-based.
inputMode = Simulink.sdi.getSignalInputProcessingMode(h)
returns the value of the Input Processing property for the signal that
corresponds to the specified line handle, h.
Check Signal Input Processing Setting Using Block Path
Check the value of the Input Processing property
for the output signal of the Gain block Mu in the model
vdp using the block path and the index of the output port that
produces the signal.
blkPath — Block path for block that produces signal string | character vector
Block path for the block that produces the signal, specified as a string or a
character vector.
Example: "vdp/Mu"
port — Index of block output port that produces signal scalar
Index of block output port that produces signal, specified as a numeric
scalar.
Example: 1
h — Signal line handle
Signal, specified as a line handle. To get the line handle for a signal, use the
get_param function with the
'LineHandles' option. For example, to access the line handle for
the output of the Mu block in the model vdp,
use:
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.