User`s guide

Organize Customization File Checks and Folders
26-17
Define Where Custom Folders Appear
You can specify the location of custom folders within the Model Advisor using the
following guidelines:
To define a new folder in the Model Advisor Task Manager, use the
ModelAdvisor.Group class.
To define a new folder in the By Task folder, use the ModelAdvisor.FactoryGroup
class.
Note: To define a new folder in the By Product folder, use the
ModelAdvisor.Root.publish method within a custom check. For more information,
see “Define Where Custom Checks Appear”. If the By Product folder is not displayed
in the Model Advisor window, select Show By Product Folder from the Settings >
Preferences dialog box.
Customization Example
The Simulink Verification and Validation software provides an example that shows how
to customize the Model Advisor by adding:
Custom checks
Check input parameters
Check actions
Check list views to call the Model Advisor Result Explorer
Custom tasks to include the custom checks in the Model Advisor
Custom folders for grouping the checks
Custom procedures
A process callback function
The example also provides the source code of the sl_customization.m file that
executes the customizations.
To run the example:
1
At the MATLAB command line, type slvnvdemo_mdladv.
2
Follow the instructions in the model.