Main Content

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

Anint_Tvalue indicating the size of dimension,dIdx, at the output port specified byport. Returns1if thedIdxis 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.

语言

C, C++

H版istory

Introduced in R2007b