Main Content

ssSetCallSystemOutput

Specify that an output port is issuing a function call

Syntax

void ssSetCallSystemOutput(SimStruct *S, int_T element_index)

Arguments

S

SimStruct that represents 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 Implement Function-Call Subsystems with S-Functions for more information.

Languages

C, C++

Examples

See the S-function sfun_fcncall.c.

Version History

Introduced before R2006a