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
-
1
if this S-function explicitly enables and disables the function-call subsystems it enables
Description
Specify1
as the value ofexplicit
ifS
explicitly enables or disables the function-call subsystems that it calls. Call this macro in eithermdlInitializeSizes
ormdlInitializeSampleTimes
. UsessEnableSystemWithTid
andssDisableSystemWithTid
to 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 usingssEnableSystemWithTid
prior to calling it usingssCallSystemWithTid
.
语言
C, C++