Skip to Main Content Skip to Search
Product Documentation

ssRTWGenIsModelReferenceSimTarget - Determine if the model reference simulation target is generating

Syntax

boolean_T ssRTWGenIsModelReferenceSimTarget(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

The Boolean value true if the model reference simulation target is building. Returns false if the model reference Simulink Coder target is building.

Description

Use this macro in an S-function that can be contained in a referenced submodel (See "Referencing Models" in Using Simulink) to determines whether the submodel containing this S-function is currently generating a simulation target or Simulink Coder target.

Languages

C, C++

See Also

ssRTWGenIsModelReferenceRTWTarget

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS