Class: RTW.ModelCPPDefaultClass
Package: RTW
Validate model-specific C++ class interface against Simulink model
[
status
, msg
]
= runValidation(obj
)
[
runs a
validation check of the specified model-specific C++ class interface
against the ERT-based Simulink® model to which it is attached.status
, msg
]
= runValidation(obj
)
Before calling this function, you must call either attachToModel
,
to attach a function prototype to a loaded model, or RTW.getClassInterfaceSpecification
, to
get the handle to a function prototype previously attached to a loaded
model.
| Handle to a model-specific C++ class interface control object,
such as a handle previously returned by or . |
| Boolean value; true for a valid configuration, false otherwise. |
| If is
false, contains
a character vector of information describing why the configuration
is invalid. |
To validate a C++ class interface in the Simulink Configuration Parameters graphical user interface, go to the Interface pane and click the Configure C++ Class Interface button. This button launches the Configure C++ class interface dialog box, where you can display and configure the step method for your model class. Click the Validate button to validate your current model step function configuration. The Validation pane displays status and an explanation of failures. For more information, see Configure Step Method for Your Model Class.