MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuale Utente Pagina 96

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 330
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 95
6 Laying Out a GUI
6-6
2 Optionally, name your GUI now by selecting Save on startup as and typing
the name in the field to the right. GUIDE saves the GUI before opening it in
the Layout Editor. If you choose not to name the GUI at this point, GUIDE
prompts you to save it and give it a name the first time you run the GUI.
3 Click OK to open the GUI template in the Layout Editor.
Template Descriptions
GUIDE provides four fully functional templates. They are described in the
following sections:
“Blank GUI” on page 6-6
“GUI with Uicontrols” on page 6-7
“GUI with Axes and Menu” on page 6-9
“Modal Question Dialog” on page 6-10
Note To see how the template GUIs work, you can view their M-file code and
look at their callbacks. You can also modify the callbacks for your own
purposes. To view the M-file for any of these templates, open the template in
the Layout Editor and click the M-file Editor icon on the toolbar. For
information about using callbacks, see Chapter 8, “Programming the GUI.”
Blank GUI
The blank GUI template displayed in the Layout Editor is shown in the
following figure.
Vedere la pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 329 330

Commenti su questo manuale

Nessun commento