Main Content

ssGetInputPortDimensionsMode

Get the dimensions mode of the input port indexed by pIdx

Syntax

DimensionsMode_T ssGetInputPortDimensionsMode(SimStruct *S,int_T pIdx)

Arguments

S

SimStruct that represents 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++

Version History

Introduced in R2009b