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:
JSON files by using the Model Advisor Configuration Editor or Model Advisor Configuration APIs. For more information, see Use Model Advisor Configuration Editor to Customize Model Advisor and Customize Model Advisor Configuration Programmatically.
sl_customization.m
files for custom Model Advisor checks. See Create Model Advisor Checks.
To update your environment:
If you previously started the Model Advisor:
Close the model from which you started the Model Advisor
Clear the data associated with the previous Model Advisor session by removing the
slprj
folder from your Code generation folder.
In the MATLAB® command line, enter:
Advisor.Manager.refresh_customizations
Open your model
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.