Specifications
3 GUIDE Layout Tools
3-2
GUI Layout Tools
MATLAB includes a set of layout tools that simplify the process of creating
graphical user interfaces (GUIs). These tools include:
•Layout Editor – add and arrange objects in the figure window.
•Alignment Tool – align objects with respect to each other.
•Property Inspector – inspect and set property values.
•Object Browser – observe a hierarchical list of the Handle Graphics objects
in the current MATLAB session.
•Menu Editor – create menus for the window menu bar and context menus for
any component in your layout.
Access these tools from the Layout Editor. To start the Layout Editor, use the
guide command. For example,
guide
displays an empty layout.
To load an existing GUI for editing, type (the
.fig is not required)
guide filename.fig
or use Open... from the File menu on the Layout Editor.
The following picture shows the GUIDE Layout Editor
.