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

  • 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 10
xi
10
Examples of GUIDE GUIs
GUI with Multiple Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
Techniques Used in the Example . . . . . . . . . . . . . . . . . . . . . . . 10-2
View Completed Layout and Its GUI M-File . . . . . . . . . . . . . . 10-3
Design of the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3
Plot Push Button Callback . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-6
List Box Directory Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-9
View Layout and GUI M-File . . . . . . . . . . . . . . . . . . . . . . . . . . 10-9
Implementing the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10
Specifying the Directory to List . . . . . . . . . . . . . . . . . . . . . . . . 10-10
Loading the List Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-12
Accessing Workspace Variables from a List Box . . . . . . . . 10-16
Techniques Used in This Example . . . . . . . . . . . . . . . . . . . . . 10-16
View Completed Layout and Its GUI M-File . . . . . . . . . . . . . 10-17
Reading Workspace Variables . . . . . . . . . . . . . . . . . . . . . . . . . 10-17
Reading the Selections from the List Box . . . . . . . . . . . . . . . . 10-17
A GUI to Set Simulink Model Parameters . . . . . . . . . . . . . 10-20
Techniques Used in This Example . . . . . . . . . . . . . . . . . . . . . 10-20
View Completed Layout and Its GUI M-File . . . . . . . . . . . . . 10-20
How to Use the GUI (Text of GUI Help) . . . . . . . . . . . . . . . . . 10-21
Running the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-22
Programming the Slider and Edit Text Components . . . . . . . 10-23
Running the Simulation from the GUI . . . . . . . . . . . . . . . . . . 10-25
Removing Results from the List Box . . . . . . . . . . . . . . . . . . . 10-27
Plotting the Results Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-28
The GUI Help Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-29
Closing the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-30
The List Box Callback and Create Function . . . . . . . . . . . . . 10-30
An Address Book Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-32
Techniques Used in This Example . . . . . . . . . . . . . . . . . . . . . 10-32
Managing Shared Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-32
View Completed Layout and Its GUI M-File . . . . . . . . . . . . . 10-33
Running the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-33
Loading an Address Book Into the Reader . . . . . . . . . . . . . . . 10-35
Zobrazit stránku 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 329 330

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

Žádné komentáře