| Contents | Index |
Validate model-specific C function prototype against Simulink model
[status, msg]
= runValidation(obj)
[status, msg] = runValidation(obj) 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, 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.
| obj | Handle to a model-specific C prototype function control object previously returned by obj = RTW.ModelSpecificCPrototype or obj = RTW.getFunctionSpecification (modelName). |
| status | True for a valid configuration; false otherwise. |
| msg | If status is false, msg contains a string explaining why the configuration is invalid. |
Click the Validate button in the Model Interface dialog box to run a validation check of the specified model-specific C function prototype against the ERT-based Simulink model to which it is attached. See Model Specific C Prototypes View in the Embedded Coder documentation.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |