User`s guide
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