Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

ssIsExternal - Determine if the model is running in external mode.

Syntax

boolean_T ssIsExternal(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

The Boolean value true if the model is running in external mode. Returns false otherwise. Note: if ssGetSimMode returns "external", the result is identical to that of ssIsExternal.

Description

Use this macro in an S-function to determine whether the model is currently running in external mode.

Languages

C, C++

See Also

ssRTWGenIsModelReferenceRTWTarget, ssRTWGenIsModelReferenceSimTarget, ssRTWGenIsCodeGen, ssRTWGenIsAccelerator, ssGetSimMode

  


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