Get setting of Input Processing signal property
returns the setting for the Input Processing property for the signal at
the specified block and port.inputMode
= Simulink.sdi.getSignalInputProcessingMode(blkPath
,port
)
The Input Processing setting affects the format of the logged data and how the Simulation Data Inspector and dashboard blocks display the signal. You can configure a signal for frame-based or sample-based input processing.
Check the setting for the Input Processing property of a signal using the block path and output port number for the block that produces the signal.
open_system('vdp') MuInputProc = Simulink.sdi.getInputProcessingMode('vdp/Mu');
Check the setting for the Input Processing property of a signal using the line handle for the signal.
open_system('vdp') MuLineHandles = get_param('vdp/Mu','LineHandles'); MuOutputHandle = MuLineHandles.Outport; MuInputProc = Simulink.sdi.getInputProcessingMode(MuOutputHandle);