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

  • 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 190
Examples: Programming GUI Components
8-19
Examples: Programming GUI Components
This section provides basic code examples to get you started programming the
most commonly used components.
“Push Button” on page 8-19
“Toggle Button” on page 8-20
“Radio Button” on page 8-21
“Check Box” on page 8-21
“Edit Text” on page 8-22
“Slider” on page 8-23
“List Box” on page 8-23
“Pop-Up Menu” on page 8-24
“Panel” on page 8-25
“Button Group” on page 8-26
“Axes” on page 8-27
“ActiveX Control” on page 8-31
“Menu Item” on page 8-37
Push Button
This example contains only a push button. Clicking the button, closes the GUI.
This is the push button’s
Callback callback. It displays the string Goodbye at
the command line and then closes the GUI.
Zobrazit stránku 190
1 2 ... 186 187 188 189 190 191 192 193 194 195 196 ... 329 330

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

Žádné komentáře