Main Content

ssRTWGenIsModelReferenceRTWTarget

Determine if the model reference金宝appCodertarget is generating

Syntax

boolean_T ssRTWGenIsModelReferenceRTWTarget(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

The Boolean valuetrueif the model reference金宝app®Coder™target is building. Returnsfalseif the model reference simulation target is building.

Description

Use this macro in an S-function that can be contained in a referenced model to determine whether the referenced model containing this S-function is currently generating a simulation target orSimulink Codertarget.

Languages

C, C++

Introduced in R2006b