Main Content

ssRTWGenIsModelReferenceRTWTarget

Determine if the model reference Simulink Coder target is generating

Syntax

boolean_T ssRTWGenIsModelReferenceRTWTarget(SimStruct *S)

Arguments

S

SimStruct that represents an S-Function block.

Returns

The Boolean value true if the model reference Simulink® Coder™ target is building. Returns false if 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 or Simulink Coder target.

Languages

C, C++

Version History

Introduced in R2006b