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.

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 Simulink® Coder™ target is building.

Description

Use this macro in an S-function that can be contained in a referenced model to determine whether the referenced model containing this S-function is currently generating a simulation target or Simulink Coder target.

Languages

C, C++

Introduced in R2006b

Was this topic helpful?