User`s guide

26 Create Custom Configurations by Organizing Checks and Folders
26-12
Organize Customization File Checks and Folders
In this section...
“Customization File Overview” on page 26-12
“Register Tasks and Folders” on page 26-13
“Define Custom Tasks” on page 26-14
“Define Custom Folders” on page 26-16
“Customization Example” on page 26-17
Note: While you can organize checks and folders within a customization file, use the
Model Advisor Configuration Editor.
Customization File Overview
The sl_customization.m file contains a set of functions for registering and defining
custom checks, tasks, and groups. To set up the sl_customization.m file, follow the
guidelines in this table.
Function Description Required or Optional
sl_customization() Registers custom checks, tasks,
folders, and callbacks with
the Simulink customization
manager at startup (see
“Register Checks and Process
Callbacks”).
Required for customizations to
the Model Advisor.
One or more check definitions Defines custom checks (see
“Define Custom Checks”).
Required for custom checks and
to add custom checks to the By
Product folder.
One or more task definitions Defines custom tasks (see
“Define Custom Tasks” on page
26-14).
Required to add custom checks
to the Model Advisor, except
when adding the checks to the
By Product folder. Write one
task for each check that you add
to the Model Advisor.