MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuale Utente Pagina 272

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 500
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 271
1 2 ... 267 268 269 270 271 272 273 274 275 276 277 ... 499 500

Commenti su questo manuale

Nessun commento