|
|
|
| R2012a Documentation → Simulink Verification and Validation | |
Learn more about Simulink Verification and Validation |
|
| Contents | Index |
| On this page… |
|---|
Overview of the Model Advisor Configuration Editor Starting the Model Advisor Configuration Editor How To Organize Checks and Folders Using the Model Advisor Configuration Editor |
When you start the Model Advisor Configuration Editor, two windows open; the Model Advisor Configuration Editor and the Model Advisor Check Browser. The Configuration Editor window consists of two panes: the Model Advisor Configuration Editor hierarchy and the Workflow. The Model Advisor Configuration Editor hierarchy lists the checks and folders in the current configuration. The Workflow on the right shows the common workflow you use to create a custom configuration.
Model Advisor Configuration Editor

When you select a folder or check in the Model Advisor Configuration Editor hierarchy, the Workflow pane changes to display information about the check or folder. You can change the display name of the check or folder in this pane.

The Model Advisor Check Browser window includes a read-only list of available checks. If you delete a check in the Model Advisor Configuration Editor, you can retrieve a copy of it from the Model Advisor Check Browser.
Tip If you use a process callback function in a sl_customization file to hide checks and folders, the Model Advisor Configuration Editor and Model Advisor Check Browser do not display the hidden checks and folders. For a complete list of checks and folders, remove process callback functions and update the Simulink environment (see Updating the Environment to Include Your sl_customization File). |
Model Advisor Check Browser

Using the Model Advisor Configuration Editor, you can perform the following actions.
| To... | Select... | |
|---|---|---|
| Create new configurations | File > New | |
| Find checks and folders in the Model Advisor Check Browser | View > Check Browser | |
| Add checks and folders to the configuration | Edit > Copy Edit > Paste Edit > New folder The check or folder and drag and drop | |
| Remove checks and folders from the configuration | Edit > Delete Edit > Cut | |
| Reorder checks and folders | Edit > Move
up Edit > Move down The check or folder and drag and drop | |
| Rename checks and folders | The check or folder and edit Display Name in right pane. | |
Allow or gray out the check box control for checks and folders
| Edit > Enable Edit > Disable | |
| Save the configuration as a MAT file for use and distribution | File > Save File > Save As | |
| Set the configuration so it opens by default in the Model Advisor | File > Set Current Configuration as Default | |
| Restore the MathWorks default configuration | File > Restore Default Configuration | |
| Load and edit saved configurations | File > Open |
Note
|
To include custom checks in the new Model Advisor configuration, update the Simulink environment to include your sl_customization.m file. For more information, see Updating the Environment to Include Your sl_customization File.
Start the Model Advisor Configuration Editor.
| To start the Model Advisor Configuration Editor... | Do this: |
|---|---|
| Programmatically | At the MATLAB command line, enter Simulink.ModelAdvisor.openConfigUI. For more information, see the Simulink.ModelAdvisor function reference page. |
| From the Model Advisor |
|
The Model Advisor Configuration Editor and Model Advisor Check Browser windows open.
Optionally, to edit an existing configuration in the Model Advisor Configuration Editor window:
Select File > Open.
In the Open dialog box, navigate to the configuration file that you want to edit.
Click Open.
The following tutorial steps you through creating a custom configuration.
Open the Model Advisor Configuration Editor at the MATLAB command line by entering Simulink.ModelAdvisor.openConfigUI . For more options, see Starting the Model Advisor Configuration Editor.
In the Model Advisor Configuration Editor, in the left pane, delete the By Product and By Task folders, to start with a blank configuration.
Select the root node which is labeled Model Advisor Configuration Editor.
In the toolbar, click the New Folder button to create a folder.
In the left pane, select the new folder.
In the right pane, edit Display Name to rename the folder. For the purposes of this tutorial, rename the folder to Review Optimizations.
In the Model Advisor Check Browser window, in the Find field, enter optimization to find Simulink > Check optimization settings.
Drag and drop Check optimization settings into Review Optimizations.
In the Model Advisor Check Browser window, find Simulink Verification and Validation > Modeling Standards > DO-178B Checks > Check safety-related optimization settings.
Drag and drop Check safety-related optimization settings into Review Optimizations.
In the Model Advisor Configuration Editor window, expand Review Optimizations.
Rename Check optimization settings to Check Simulink optimization settings.
Select File > Save As to save the configuration.
Name the configuration optimization_configuration.mat.
Close the Model Advisor Configuration Editor window.
Tip To move a check to the first position in a folder:
|
![]() | Overview of Creating Custom Configurations | Organizing Checks and Folders Within a Customization File | ![]() |

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 |