Contents

ssGetInputPortDimensionsMode

Gets the dimensions mode of the input port indexed by pIdx

Syntax

DimensionsMode_T ssGetInputPortDimensionsMode(SimStruct *S,int_T pIdx)

Arguments

S

SimStruct representing an S-Function block.

pIdx

Input port index being polled.

Returns

A DimensionsMode_T value indicating the current dimensions mode. Possible values are INHERIT_DIMS_MODE FIXED_DIMS_MODE and VARIABLE_DIMS_MODE

Languages

C, C++

Was this topic helpful?