| Real-Time Workshop® Embedded Coder™ | ![]() |
Validate model-specific C function prototype against Simulink® model to which it is attached
[status, msg] = runValidation(obj)
Handle to a model-specific C prototype function control object previously returned by obj = RTW.ModelSpecificCPrototype or obj = RTW.getFunctionSpecification(modelName).
[status, msg], where status is true for a valid configuration and false otherwise. If status is false, message contains information explaining why the configuration is invalid.
The runValidation function runs a validation check of the specified model-specific C function prototype against the ERT-based Simulink model to which it is attached.
Before calling this function, you must call either attachToModel (Function Prototype Control), to attach a function prototype to a loaded model, or RTW.getFunctionSpecification, to get the handle to a function prototype previously attached to a loaded model.
Controlling model_step Function Prototypes in the Real-Time Workshop® Embedded Coder™ documentation
![]() | runValidation (AUTOSAR) | setArgCategory | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |