Skip to Main Content Skip to Search
Product Documentation

ssGetCurrentInputPortWidth - Gets 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++

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS