MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE User Manual Page 272

  • Download
  • Add to my manuals
  • Print
  • Page
    / 500
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 271
1 2 ... 267 268 269 270 271 272 273 274 275 276 277 ... 499 500

Comments to this Manuals

No comments