User`s guide
1 About GUIs in MATLAB
®
Software
What Is a GUI?
A graphical user interface (G UI) is a graphical display in one or more
windows containing controls, called components, that enable a user to perform
interactive tasks. The user of the G UI does not have to create a script or
type commands at the command line to accom plish the tasks. Unlike coding
programs to accomplish tasks, the user of a GUI need not understand the
details of how the tasks are performed.
GUI components can include menus, toolbars, push buttons, radio buttons,
list boxes, and sliders—just to name a few. GUIs created using MATLA B
®
tools can also perform any type of computation, read and write data files,
communicate with other GUIs, and display data as tables or as plots.
The following figure illustrates a simple GUI that you can e asily build
yourself.
The G
UI contains
• An a
xes component
• Apo
p-up menu listing three data sets that correspond to MATLAB
fu
nctions:
peaks, membrane,andsinc
• As
tatic text component to label the pop-up menu
1-2