User`s guide
2 How to Create a GUI with GUIDE
To use the GUI, select a data set from the pop-up menu, then click one of the
plot-type buttons. Clicking the button triggers the execution of a callback that
plots the selected data in the axes.
Subsequent topics, starting with “Lay Out the Simple GUI in GUIDE” on page
2-11, guide you through the steps to create this G UI. We recommend that you
create the GUI for yourself as the best way to learn how to use GUIDE.
View Simple GUIDE GUI Layout and Code File
If you a re reading this in the MATLAB Help browser, you can click the
following links to display this example in the GUIDE Layout Editor and the
MATLAB Editor.
Note The following links execute MATLAB commands and are designed to
work within the MATLAB Help browser. If you are reading this online or in
PDF, go to the corresponding section in the MATL AB Help Browser to use
the links.
• ClickheretodisplaythisGUIintheLayoutEditor.
• Click here to display the GUI code file in the MATLAB Editor.
2-10