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
 | ssRTWGenIsModelReferenceRTWTarget | | ssSampleAndOffsetAreTriggered |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit