4 What Is GUIDE?
GUIDE: Getting Started
In this section...
“UI Layout” on page 4- 2
“UI Programming” on page 4- 2
UI Layout
GUIDE is a development environment that provides a set of tools for creating user
interfaces (UIs). These tools simplify the process of laying out and programming UIs.
Using the GUIDE Layout Editor, you can populate a UI by clicking and dragging UI
components—such as axes, panels, buttons, text fields, sliders, and so on—into the layout
area. You also can create menus and context menus for the UI. From the Layout Editor,
you can size the UI, modify component look and feel, align components, set tab order,
view a hierarchical list of the component objects, and set UI options.
UI Programming
GUIDE automatically generates a program file containing MATLAB functions that
controls how the UI behaves. This code file provides code to initialize the UI, and it
contains a framework for the UI callbacks. Callbacks are functions that execute when
the user interacts with a UI component. Use the MATLAB Editor to add code to these
callbacks.
NoteMATLAB software provides a selection of standard dialog boxes that you can create
with a single function call. For an example, see the documentation for msgbox, which
also provides links to functions that create specialized predefined dialog boxes.