Main Content

Update the Environment to Include Your Custom Configuration

To make custom configuration available for use by the Model Advisor, you need to first update your Simulink® environment to refresh the Model Advisor cache. This includes the creation of new or modifications to existing:

To update your environment:

  1. If you previously started the Model Advisor:

    1. Close the model from which you started the Model Advisor

    2. Clear the data associated with the previous Model Advisor session by removing the slprj folder from your Code generation folder.

  2. In the MATLAB® command line, enter:

    Advisor.Manager.refresh_customizations
  3. Open your model

  4. In the Modeling tab, select Model Advisor to open the Model Advisor. If you have customized the configuration by using the Model Advisor Configuration Editor or Model Advisor Configuration APIs, load and verify the configuration as described in Load and Associate a Custom Configuration with a Model.