Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

ssSetCurrentOutputPortDimensions - Sets 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 representing 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++

Example

See the S-function matlabroot/toolbox/simulink/simdemos/simfeatures/src/sfun_varsize_concat1D.c.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS