Skip to Main Content Skip to Search
Product Documentation

ssGetCurrentInputPortDimensions - Gets the current size of dimension dIdx of input port pIdx

Syntax

int_T ssGetCurrentInputPortDimensions(SimStruct *S,int_T pIdx, int_T dIdx)

Arguments

S

SimStruct representing an S-Function block.

pIdx

Input port index being polled.

dIdx

Index of dimension being polled.

Returns

An int_T value indicating the size of dimension dIdx.

Languages

C, C++

Example

See the S-function sfun_varsize_concat1D.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