Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 and S-Functions for more information.

Languages

C, C++

Example

See the S-function sfun_fcncall.c.

Introduced before R2006a

Was this topic helpful?