Main Content

ssIsRapidAcceleratorActive

Determine whether the model is running in Rapid Accelerator mode

Syntax

boolean_T ssIsRapidAcceleratorActive(SimStruct *S)

Arguments

S

SimStruct that represents an S-Function block.

Returns

The Boolean value true if the model is being built or simulated in the Rapid Accelerator mode. Returns false otherwise.

Description

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

Languages

C, C++

Version History

Introduced in R2012a