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. See Use the Model Advisor Configuration Editor to Customize the Model Advisor.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, load and verify the configuration as described in Load and Associate a Custom Configuration with a Model.