MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE User's Guide Page 61

  • Download
  • Add to my manuals
  • Print
  • Page
    / 759
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 60
Program the Simple GUIDE GUI
Program the Pop-Up Menu
The pop-up menu enables the user to select the data to plot. When the GUI
user selects one of the three plots, MATLAB software sets the pop-up menu
Value property to the index of the selected string. The pop-up menu callback
reads the pop-up menu
Value property to determ ine the item that the menu
currently displays , and sets
handles.current_data accordingly.
1 Display the pop-up menu callback in the MAT LAB Editor. Right-click the
pop-up menu com ponent in the GUIDE Layout Editor to display a context
menu. From that menu, select View Callbacks > Callback.
2-31
Page view 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 758 759

Comments to this Manuals

No comments