MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guida Utente Pagina 651

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 674
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 650
Organize Customization File Checks and Folders
26-13
Function Description Required or Optional
One or more groups Defines custom groups (see
“Define Custom Tasks” on page
26-14).
Required to add custom tasks
to new folders in the Model
Advisor, except when adding
a new subfolder to the By
Product folder. Write one group
definition for each new folder.
One process callback function Specifies actions that Simulink
performs at startup and post-
execution time (see “Define
Startup and Post-Execution
Actions Using Process Callback
Functions”).
Optional.
If the By Product folder is not displayed in the Model Advisor window, select Show By
Product Folder from the Settings > Preferences dialog box.
Register Tasks and Folders
“Create sl_customization Function” on page 26-13
“Register Tasks and Folders” on page 26-14
Create sl_customization Function
To add tasks and folders to the Model Advisor, create the sl_customization.m
file on your MATLAB path. Then create the sl_customization() function in the
sl_customization.m file on your MATLAB path.
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 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:
Vedere la pagina 650
1 2 ... 646 647 648 649 650 651 652 653 654 655 656 ... 673 674

Commenti su questo manuale

Nessun commento