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
SSimStruct that represents an S-Function block.
pIdxOutput port index being polled.
dIdxIndex of dimension being polled.
Returns
An int_T value indicating the size of dimension dIdx.
Languages
C, C++
Examples
See the S-function sfun_varsize_holdStatesUntilReset.c.
Version History
Introduced in R2009b