Specifications

2 Creating a GUI
2-16
You can redefine the value of Tag to be more descriptive, but the value of each
Tag property must be unique for a given GUI. In this example, change the Tag
property of the pop-up menu to
plot_pop-up before you save or run the GUI for
the first time. The following figure shows the new
Tag value.
When you save or run the GUI, GUIDE sets the name of the callback
subfunction in the pop-up menu
Callback property to plot_pop-up_Callback.
If you later change the
Tag, GUIDE updates the Callback property to match
the new
Tag — see “Changing a Tag” on page 3-53.
Similarly, change the push button tags to
surf_pushbutton, mesh_pushbutton,
and
contour_pushbutton.
To learn more, see “Setting Component Properties — The Property Inspector”
on page 3-40.
Set Tag to plot_popup