Main Content

ssIsExternalSim

Determine if the model is running in external mode.

Syntax

boolean_T ssIsExternalSim(SimStruct *S)

Arguments

S

SimStruct that represents anS-Functionblock.

Returns

The Boolean valuetrueif the model is running in external mode. Returnsfalseotherwise. Note: if ssGetSimMode returns “external”, the result is identical to that of ssIsExternalSim.

Description

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

Languages

C, C++

Version History

Introduced in R2011b