Products & Services Industries Academia Support User Community Company

Learn more about Simulink   

ssSetCallSystemOutput - Specify that an output port is issuing a function call

Syntax

void ssSetCallSystemOutput(SimStruct *S, int_T element_index)

Arguments

S

SimStruct representing an S-Function block.

element_index

Index of the element of the first output port that is issuing a function call.

Description

Use in mdlInitializeSampleTimes to specify that the output port element specified by element_index is issuing a function call by using ssCallSystemWithTid(S,index,tid). The index specified starts at 0 and must be less than ssGetOutputPortWidth(S,0). See Function-Call Subsystems for more information.

Languages

C, C++

Example

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

See Also

ssCallSystemWithTid

  


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