Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 representing 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++

Introduced in R2009b

Was this topic helpful?