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.

ssGetCurrentOutputPortDimensions

Get the current size of dimension dIdx of the signal at output port pIdx.

Syntax

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

Arguments

S

SimStruct representing an S-Function block.

pIdx

Output 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_holdStatesUntilReset.c.

Introduced in R2009b

Was this topic helpful?