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.

ssGetInputPortDimensionSize

Get the size of one dimension of the signal entering an input port

Syntax

int_T ssGetInputPortDimensionSize(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 input port specified by port. Returns 1 if the dIdx is greater than or equal to the number of input port dimensions.

Description

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

Languages

C, C++

Introduced in R2007b

Was this topic helpful?