MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual de usuario Pagina 256

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 330
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 255
10 Examples of GUIDE GUIs
10-32
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 shared data.
Uses a GUI figure resize function.
Managing Shared 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
The names and phone numbers stored in the MAT-file
Vista de pagina 255
1 2 ... 251 252 253 254 255 256 257 258 259 260 261 ... 329 330

Comentarios a estos manuales

Sin comentarios