MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelský manuál Strana 256

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 255
1 2 ... 251 252 253 254 255 256 257 258 259 260 261 ... 329 330

Komentáře k této Příručce

Žádné komentáře