Main Content
ssSetCurrentOutputPortDimensions
Set the current size corresponding to dimension dIdx of the output signal at port pIdx.
Syntax
void ssSetCurrentOutputPortDimensions(SimStruct *S,int_T pIdx, int_T dIdx, int_T val)
Arguments
S
SimStruct that represents an S-Function block.
pldx
Output port index being set.
dIdx
Index of dimension being set.
val
Current size value to set for dimension dIdx.
Returns
No return value.
Languages
C, C++
Examples
See the S-function sfun_varsize_concat1D.c
.
Version History
Introduced in R2009b