Documentation

ssIsRapidAcceleratorActive

Determine whether the model is running in Rapid Accelerator mode

Syntax

boolean_T ssIsRapidAcceleratorActive(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

布尔valuetrueif the model is being built or simulated in the Rapid Accelerator mode. Returnsfalseotherwise.

Description

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

Languages

C, C++

Introduced in R2012a