Contents

ssGetCurrentOutputPortWidth

Gets the total width (total number of elements) of the signal at output port pIdx.

Syntax

int_T ssGetCurrentOutputPortWidth(SimStruct *S,int_T pIdx)

Arguments

S

SimStruct representing an S-Function block.

pIdx

Output port index being polled.

Returns

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

Languages

C, C++

Was this topic helpful?