Skip to Main Content Skip to Search
Product Documentation

ssRTWGenIsAccelerator - Determine if the model is running in Accelerator mode.

Syntax

boolean_T ssRTWGenIsAccelerator(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

The Boolean value true if the model has compiled or is compiling for Accelerator mode simulation. Returns false otherwise.

Description

Use this macro in an S-function to determine whether the model is currently simulating in Accelerator mode.

Languages

C, C++

See Also

ssRTWGenIsModelReferenceRTWTarget, ssRTWGenIsModelReferenceSimTarget, ssRTWGenIsCodeGen, ssIsExternalSim, ssGetSimMode

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS