Skip to Main Content Skip to Search
Product Documentation

ssGetOutputPortDimensionSize - Get the size of one dimension of the signal leaving an output port

Syntax

int_T ssGetOutputPortDimensionSize(SimStruct *S, int_T port,
 int_T dIdx)

Arguments

S

SimStruct representing an S-Function block.

port

Index of the output port.

dIdx

Index of the dimension.

Returns

An int_T value indicating the size of dimension, dIdx, at the output port specified by port. Returns 1 if the dIdx is greater than or equal to the number of output port dimensions.

Description

Use to obtain the size of one dimension of a particular output port.

Languages

C, C++

See Also

ssGetOutputPortDimensions

  


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