SetInputPortDimensionsMode
Propagate the dimensions mode
Required
No
Language
MATLAB®
Syntax
SetInputPortDimensionsMode(s, port, dm)
Arguments
sInstance of
Simulink.MSFcnRunTimeBlockclass representing the Level-2 MATLAB S-Function block.portInteger value specifying index of port to be set.
dmInteger value representing the dimensions mode of the port.
Description
The Simulink® engine calls this optional method to enable this S-function to set the
dimensions mode of the input port indexed by portIdx.
See Also
SetInputPortDimensions, Simulink.MSFcnRunTimeBlock, Simulink.BlockPortData, mdlSetInputPortDimensionsModeFcn
Version History
Introduced in R2012b