| Writing S-Functions | ![]() |
Specify that an output port emits zero-based indices.
Syntax
Arguments
S
SimStruct representing an S-Function block.
pIdx
Output port of the S-function.
Description
Use this macro in mdlInitializeSizes to specify that port pIdx emits zero-based index values. Simulink signals an error if it detects during model update that the port is connected to an input that expects one-based indices.
Languages
See Also
mdlInitializeSizes, ssSetZeroBasedIndexInputPort, ssSetOneBasedIndexOutputPort
| ssSetZeroBasedIndexInputPort | ssUpdateAllTunableParamsAsRunTimeParams | ![]() |
© 1994-2005 The MathWorks, Inc.