Determine if the model is running in external mode.
boolean_T ssIsExternalSim(SimStruct *S)
S
SimStruct representing an S-Function block.
The Boolean value true
if the model is running in external
mode. Returns false
otherwise. Note: if ssGetSimMode returns
“external”, the result is identical to that of ssIsExternalSim.
Use this macro in an S-function to determine whether the model is currently running in external mode.
C, C++
ssRTWGenIsModelReferenceRTWTarget,
ssRTWGenIsModelReferenceSimTarget,
ssRTWGenIsCodeGen,
ssRTWGenIsAccelerator,
ssGetSimMode