Main Content
SetInputPortDimensionsMode
Propagate the dimensions mode
Required
No
Language
MATLAB®
Syntax
SetInputPortDimensionsMode(s, port, dm)
Arguments
s
Instance of
Simulink.MSFcnRunTimeBlock
class representing the Level-2 MATLAB S-Function block.port
Integer value specifying index of port to be set.
dm
Integer 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