Package: RTW
Superclasses: RTW.ModelCPPClass
Control C++ class interfaces for models using default model step method
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.
RTW.ModelCPPDefaultClass | Create C++ class interface object for configuring model class with default model step method |
See the methods of the base class RTW.ModelCPPClass
, plus the following method.
runValidation | Validate model-specific C++ class interface against Simulink model |
Handle. To learn how this affects your use of the class, see Copying Objects.
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.