Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ssIsExternalSim

Determine if the model is running in external mode.

Syntax

boolean_T ssIsExternalSim(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 ssIsExternalSim.

Description

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

Languages

C, C++

Introduced in R2011b

Was this topic helpful?