Identify any code generation that is not used by the Accelerator.
boolean_T ssRTWGenIsCodeGen(SimStruct *S)
SimStruct representing an S-Function block.
The Boolean value
true if the model is generating
code for any purpose other than Accelerator mode simulation. Returns
the model is not generating code or is generating code for Accelerator
Use this macro in an S-function to determine whether the model is generating code.