MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 9

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 8
ix
7
Saving and Running the GUI
Naming a GUI and Its Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
The GUI Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
File and GUI Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
How to Assign Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Renaming GUIs and GUI Files . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
Saving a GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
Ways to Save a GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
Saving a New GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
Saving an Existing GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
Running a GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
From the GUIDE Layout Editor . . . . . . . . . . . . . . . . . . . . . . . . 7-10
From the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
From an M-file Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11
Saving and Displaying Only the GUI Layout . . . . . . . . . . . . 7-12
Saving a GUI Layout Only . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-12
Displaying a GUI Layout Only . . . . . . . . . . . . . . . . . . . . . . . . . 7-12
8
Programming the GUI
Callbacks: An Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
What Is a Callback? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Kinds of Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
GUI Files: An Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
M-Files and FIG-Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
GUI M-File Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
Adding Callback Templates to an Existing GUI M-File . . . . . . 8-7
Associating Callbacks with Components . . . . . . . . . . . . . . . . 8-8
Setting Callback Properties Automatically . . . . . . . . . . . . . . . . 8-8
Vue de la page 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 329 330

Commentaires sur ces manuels

Pas de commentaire