Validating a Simulink®Model

Validating a Simulink® Model

  1. In the lower section of the main working area, click Validate.

    The validation is performed.

During validation, the following steps are executed:

  • Start the (optional) init script.
  • Add the model path to the MATLAB search path.
  • Open the Simulink model.
  • Start the (optional) post-load script.
  • Check if all parameters are available as workspace variables.
  • Replace the in/out ports in accordance to the In/Out mapping.
  • Start a simulation with a subset size of the data.
  • Read the output values.

Possible errors are reported. If the test is successful, a success message is displayed. The Simulink model is now ready for optimization.

Before you can use a model for the optimization, you need to make it available in the function.

See also

Using a Simulink® Model