Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ssRTWGenIsCodeGen

Identify any code generation that is not used by the Accelerator.

Syntax

boolean_T ssRTWGenIsCodeGen(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

The Boolean value true if the model is generating code for any purpose other than Accelerator mode simulation. Returns false if the model is not generating code or is generating code for Accelerator mode simulation.

Description

Use this macro in an S-function to determine whether the model is generating code.

Languages

C, C++

Introduced in R2008b

Was this topic helpful?