Package: RTW
Superclasses: RTW.ModelCPPClass
Control C++ class interfaces for models using I/O arguments style step method
The ModelCPPArgsClass
class provides objects that describe C++
class interfaces for models using an I/O arguments style step method. Use the attachToModel
method to attach a C++ class interface to a loaded ERT-based
Simulink® model.
RTW.ModelCPPArgsClass | Create C++ class interface object for configuring model class with I/O arguments style step method |
See the methods of the base class RTW.ModelCPPClass
, plus the following methods.
getArgCategory | Get argument category for Simulink model port from model-specific C++ class interface |
getArgName | Get argument name for Simulink model port from model-specific C++ class interface |
getArgPosition | Get argument position for Simulink model port from model-specific C++ class interface |
getArgQualifier | Get argument type qualifier for Simulink model port from model-specific C++ class interface |
getPreview | Get model-specific C++ class interface step function prototype code preview |
runValidation | Validate model-specific C++ class interface against Simulink model |
setArgCategory | Set argument category for Simulink model port in model-specific C++ class interface |
setArgName | Set argument name for Simulink model port in model-specific C++ class interface |
setArgPosition | Set argument position for Simulink model port in model-specific C++ class interface |
setArgQualifier | Set argument type qualifier for Simulink model inport in model-specific C++ class interface |
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.