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

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 500
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 271
9 Examples of GUIDE UIs
9-26
The edit text callbacks execute when you enter text in an edit field and press Return
or click elsewhere in the UI. Even if you immediately click the Plot button, the edit text
callback executes before the plot button callback activates. When a callback receives
invalid input, it disables the Plot button, preventing its callback from running. Finally,
it restores focus to itself, selecting the text that did not validate so that you can re-enter
a value.
For example, here is the response to input of a time vector, [1 2 6 4 5 7 9], that does
not monotonically increase.
Zobrazit stránku 271
1 2 ... 267 268 269 270 271 272 273 274 275 276 277 ... 499 500

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

Žádné komentáře