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

  • 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 5
vi Contents
Generating Data to Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Programming the Pop-Up Menu . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Programming the Push Buttons . . . . . . . . . . . . . . . . . . . . . . . . 2-23
Running the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26
3
Creating a GUI Programmatically
The Example: Simple GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Function Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Functions Used to Create the Simple GUI . . . . . . . . . . . . . . . . . 3-4
Other MATLAB Functions Used in the GUI . . . . . . . . . . . . . . . 3-4
Creating a GUI M-File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Laying Out a Simple GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Creating the Figure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Adding the Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Initializing the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Programming the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
Programming the Pop-Up Menu . . . . . . . . . . . . . . . . . . . . . . . . 3-14
Programming the Push Buttons . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Associating Callbacks with Their Components . . . . . . . . . . . . 3-15
Running the Final GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
The Final M-File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Running the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
Zobrazit stránku 5
1 2 3 4 5 6 7 8 9 10 11 ... 329 330

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

Žádné komentáře