When you use the Model Advisor, you can automatically set the default configuration by modifying an sl_customization.m file. For more information on creating the sl_customization.m file, see Register Checks and Process Callbacks.
Place a configuration MAT file on your MATLAB® path. For more information on MAT files, see Organize Checks and Folders Using the Model Advisor Configuration Editor
Modify your sl_customization.m file by adding the function:
function [checkCellArray taskCellArray] = ModelAdvisorProcessFunction ... (stage, system, checkCellArray, taskCellArray) switch stage case 'configure' ModelAdvisor.setConfiguration('qeAPIConfigFilePath.mat'); end
In the function, replace qeAPIConfigFilePath.mat with the name of the configuration MAT file in step 1.
The sl_customization.m file is loaded every time you start the Model Advisor, using qeAPIConfigFilePath.mat as the default configuration. For more information, see Update the Environment to Include Your sl_customization File.