MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guide de l'utilisateur Page 673

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 674
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 672
Automatically Load and Set the Default Configuration
28-5
Automatically Load and Set the Default Configuration
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” on page 25-27.
1
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” on page 26-5
2
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.
3
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” on
page 26-18.
Tip You can restore the MathWorks default configuration by selecting File > Restore
Default Configuration.
Vue de la page 672
1 2 ... 668 669 670 671 672 673 674

Commentaires sur ces manuels

Pas de commentaire