ssRTWGenIsCodeGen
Identify any code generation that is not used by the Accelerator.
Syntax
boolean_T ssRTWGenIsCodeGen(SimStruct *S)
Arguments
-
S
-
SimStruct representing an S-Function block.
Returns
The Boolean valuetrue
如果模型生成代码是不为任何目的her than Accelerator mode simulation. Returnsfalse
if the model is not generating code or is generating code for Accelerator mode simulation.
Description
Use this macro in an S-function to determine whether the model is generating code.
Languages
C, C++
See Also
ssRTWGenIsModelReferenceRTWTarget
,ssRTWGenIsModelReferenceSimTarget
,ssRTWGenIsAccelerator
,ssIsExternalSim
,ssGetSimMode