Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

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 Real-Time Workshop 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 Real-Time Workshop 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-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS