On your MATLAB® path, create a customization file named sl_customization.m. In this file, create a sl_customization() function to register the custom checks that you create and optional process callbacks with the Model Advisor. For detailed information, see Register Checks and Process Callbacks.
Define custom checks and where they appear in the Model Advisor. For detailed information, see Define Custom Checks.
Specify what actions you want the Model Advisor to take for the custom checks by creating a check callback function for each custom check. For detailed information, see Create Callback Functions and Results.
Optionally, specify what automatic fix operations the Model Advisor performs by creating an action callback function. For detailed information, see Action Callback Function.
Optionally, specify startup and post-execution actions by creating a process callback function. For detailed information, see Define Startup and Post-Execution Actions Using Process Callback Functions.