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 representing an S-Function block.

explicit

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

Description

Specify1as the value ofexplicitifSexplicitly enables or disables the function-call subsystems that it calls. Call this macro in eithermdlInitializeSizesormdlInitializeSampleTimes. UsessEnableSystemWithTidandssDisableSystemWithTidto subsequently enable and disable the function-call subsystem. SeeImplement Function-Call Subsystems with S-Functionsfor 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 usingssEnableSystemWithTidprior to calling it usingssCallSystemWithTid.

语言

C, C++

Version History

Introduced before R2006a