Skip to Main Content Skip to Search
Product Documentation

RTW.getEncapsulationInterfaceSpecification - Package: RTW

Get handle to model-specific C++ encapsulation interface control object

Syntax

obj = RTW.getEncapsulationInterfaceSpecification(modelName)

Description

obj = RTW.getEncapsulationInterfaceSpecification(modelName) returns a handle to a model-specific C++ encapsulation interface control object.

Input Arguments

modelNameString specifying the name of a loaded ERT-based Simulink model.

Output Arguments

objHandle to the C++ encapsulation interface control object associated with the specified model. If the model does not have any associated C++ encapsulation interface control object, the function returns [].

Alternatives

The Configure C++ Encapsulation Interface button on the Interface pane of the Simulink Configuration Parameters dialog box launches the Configure C++ encapsulation interface dialog box, where you can flexibly control the C++ encapsulation interfaces that are generated for your model. Once you validate and apply your changes, you can generate code based on your C++ encapsulation interface modifications. See Generate and Configure C++ Encapsulation Interfaces to Model Code in the Embedded Coder documentation.

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS