Main Content

ssSetExplicitFCSSCtrl

Specify whether this S-function explicitly enables and disables the function-call subsystem that it calls

Syntax

void ssSetExplicitFCSSCtrl(SimStruct *S, uint_T explicit)

Arguments

S

SimStruct that represents an S-Function block.

explicit

1 if this S-function explicitly enables and disables the function-call subsystems it enables

Description

Specify 1 as the value of explicit if S explicitly enables or disables the function-call subsystems that it calls. Call this macro in either mdlInitializeSizes or mdlInitializeSampleTimes. Use ssEnableSystemWithTid and ssDisableSystemWithTid to subsequently enable and disable the function-call subsystem. See Implement Function-Call Subsystems with S-Functions for more information on interfacing S-functions and function-call subsystems.

Note

If the S-function is set to explicitly enable and disable a function-call subsystem, the S-function must enable the function-call subsystem using ssEnableSystemWithTid prior to calling it using ssCallSystemWithTid.

Languages

C, C++

Version History

Introduced before R2006a