User`s guide

26 Create Custom Configurations by Organizing Checks and Folders
26-4
Create Procedural-Based Configurations
You can create a procedural-based configuration that allows you to specify the order in
which you make changes to your model. You organize checks into procedures using the
procedures API. A check in a procedure does not run until the previous check passes.
A procedural-based configuration runs until a check fails, requiring you to modify the
model to pass the check and proceed to the next check. Changes you make to your model
to pass the checks therefore follow a specific order.
To create a procedural-based configuration, perform the following tasks:
1
Review the information in “Requirements for Customizing the Model Advisor” on
page 24-2.
2
Decide on order of changes to your model.
3
Identify checks that provide information about the modifications you want to make
to your model. For example, if you want to modify your model optimization settings,
the Check optimization settings check provides information about the settings. You
can use custom checks and checks provided by MathWorks.
4
Optionally, author custom checks in a customization file. See “Create Model Advisor
Checks”.
5
Organize the checks into procedures for a procedural-based configuration. See
“Create a Procedural-Based Configuration”.
a
Create procedures using the procedure API. For detailed information, see
“Create Procedures Using the Procedures API” on page 27-2.
b
Create the custom configuration by using a customization file. See “Organize
Customization File Checks and Folders” on page 26-12.
c
Verify the custom configuration as described in “Verify and Use Custom
Configurations” on page 26-18.
6
Optionally, deploy the custom configurations to your users. For detailed information,
see “Organize and Deploy Model Advisor Checks”.
7
Verify that models comply with modeling guidelines. For detailed information, see
“Run Model Checks”.