RTW.ModelCPPDefaultClass class

Package: RTW
Superclasses: RTW.ModelCPPClass

Control C++ class interfaces for models using default model step method

Description

The ModelCPPDefaultClass class provides objects that describe C++ class interfaces for models using a default model step method. Use the attachToModel method to attach a C++ class interface to a loaded ERT-based Simulink® model.

Construction

RTW.ModelCPPDefaultClassCreate C++ class interface object for configuring model class with default model step method

Methods

See the methods of the base class RTW.ModelCPPClass, plus the following method.

runValidationValidate model-specific C++ class interface against Simulink model

Copy Semantics

Handle. To learn how this affects your use of the class, see Copying Objects.

Alternatives

The Configure C++ Class Interface button on the Interface pane of the Simulink Configuration Parameters dialog box launches the Configure C++ class interface dialog box, where you can flexibly control the C++ class interfaces that are generated for your model. Once you validate and apply your changes, you can generate code based on your C++ class interface modifications. See Customize C++ Class Interfaces Using Graphical Interfaces.