Create Model Advisor Checks Workflow

  1. 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 with the Model Advisor. For detailed information, see Register Checks.

  2. Define custom checks and where they appear in the Model Advisor. For detailed information, see Define Custom Checks.

  3. 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.

  4. Optionally, specify what automatic fix operations the Model Advisor performs by creating an action callback function. For detailed information, see Action Callback Function.