Contents

ssGetInputPortNumDimensions

Get the dimensionality of the signals accepted by an input port

Syntax

int_T ssGetInputPortNumDimensions(SimStruct *S, int_T port)

Arguments

S

SimStruct representing an S-Function block.

port

Index of an input port.

Returns

A positive integer indicating the number of dimensions of the input port specified by the index port, or DYNAMICALLY_SIZED, if the number of dimensions is unknown.

Description

Use to obtain the number of dimensions of a particular input port.

Languages

C, C++

Was this topic helpful?