Determine if the model is running in Accelerator mode.
boolean_T ssRTWGenIsAccelerator(SimStruct *S)
The Boolean value true if the model has compiled or is compiling for Accelerator mode simulation. Returns false otherwise.
Use this macro in an S-function to determine whether the model is currently simulating in Accelerator mode. If the model is being referenced in Accelerator mode, use ssRTWGenIsModelReferenceSimTarget instead.