Main Content

ssGetCurrentInputPortWidth

Get the total width (total number of elements) of the signal at input port pIdx

Syntax

int_T ssGetCurrentInputPortWidth(SimStruct *S,int_T pIdx)

Arguments

S

SimStruct that represents an S-Function block.

pldx

Input port index being polled.

Returns

An int_T value indicating the current width of the signal at input port pIdx.

Languages

C, C++

Version History

Introduced in R2009b