MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Specifiche Pagina 164

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 180
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 163
5 Application Examples
5-40
An Address Book Reader
This example shows how to implement a GUI that displays names and phone
numbers, which it reads from a MAT-file.
Techniques Used in This Example
This example demonstrates the following GUI programming techniques:
Uses open and save dialogs to provide a means for users to locate and open
the address book MAT-files and to save revised or new address book
MAT-files.
Defines callbacks written for GUI menus.
Uses the GUI’s
handles structure to save and recall global data.
Uses a GUI figure resize function.
Managing Global Data
One of the key techniques illustrated in this example is how to keep track of
information and make it available to the various subfunctions. This
information includes:
The name of the current MAT-file.
Vedere la pagina 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 179 180

Commenti su questo manuale

Nessun commento