| Contents | Index |
No
void mdlSetInputPortDimensionsModeFcn(SimStruct *S, int_T portIdx,
DimensionsMode_T dimsMode)
SimStruct representing an S-Function block.
Index of a port.
Current dimensions mode. Possible values are INHERIT_DIMS_MODE, FIXED_DIMS_MODE, and VARIABLE_DIMS_MODE
SetInputPortDimensionsMode(s, port, dm)
Instance of Simulink.MSFcnRunTimeBlock class representing the Level-2 MATLAB S-Function block.
Integer value specifying index of port to be set.
Integer value representing the dimensions mode of the port.
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 sfun_varsize_holdStatesUntilReset.c for an example of how to use this function.
C, C++, MATLAB

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |