|
|
|
| R2012a Documentation → Simulink Verification and Validation | |
Learn more about Simulink Verification and Validation |
|
| Contents | Index |
| On this page… |
|---|
Updating the Environment to Include Your sl_customization File |
When you start Simulink, it reads customization (sl_customization.m) files. If you change the contents of your customization file, update your environment by performing these tasks:
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 working folder.
At the MATLAB command line, enter:
sl_refresh_customizations
Open your model.
Start the Model Advisor.
To verify a custom configuration:
If you created custom checks, or created the custom configuration using the sl_customization method, update the Simulink environment. For more information, see Updating the Environment to Include Your sl_customization File.
Open a model.
From the model window, start the Model Advisor.
Select File > Load Configuration. If you see a warning that the Model Advisor report corresponds to a different configuration, click Load to continue.
In the Open dialog box, navigate to and select your custom configuration. For example, if you created the custom configuration in How To Organize Checks and Folders Using the Model Advisor Configuration Editor, select optimization_configuration.mat.
When the Model Advisor reopens, verify that the configuration contains the new folders and checks. For example, the Review Optimizations folder and the Check Simulink optimization settings and Check safety-related optimization settings checks.
Optionally, run the checks.
![]() | Organizing Checks and Folders Within a Customization File | Creating Procedural-Based Model Advisor Configurations | ![]() |

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 |