User`s guide
Register Checks and Process Callbacks
25-27
Register Checks and Process Callbacks
In this section...
“Create sl_customization Function” on page 25-27
“Register Checks and Process Callbacks” on page 25-27
“Define Startup and Post-Execution Actions Using Process Callback Functions” on page
25-28
Create sl_customization Function
To add checks to the Model Advisor, on your MATLAB path, in the
sl_customization.m file, create the sl_customization() function.
Tip
• You can have more than one sl_customization.m file on your MATLAB path.
• Do not place an sl_customization.m file that customizes checks and folders
in the Model Advisor in your root MATLAB folder or its subfolders, except for the
matlabroot/work folder. Otherwise, the Model Advisor ignores the customizations
that the file specifies.
The sl_customization function accepts one argument, a customization manager
object, as in this example:
function sl_customization(cm)
The customization manager object includes methods for registering custom checks
and process callbacks. Use these methods to register customizations specific to your
application, as described in the following sections.
Register Checks and Process Callbacks
To register custom checks and process callbacks, the customization manager includes the
following methods: