Laying Out a GUI

Starting GUIDE

Start GUIDE by typing guide at the MATLAB® command prompt. This displays the GUIDE Quick Start dialog box, as shown in the following figure.

Guide Quick Start dialog box

From the GUIDE Quick Start dialog box, you can

The Layout Editor

When you open a GUI in GUIDE, it is displayed in the Layout Editor, which is the control panel for all of the GUIDE tools. The following figure shows the Layout Editor with a blank GUI template.

You can lay out your GUI by dragging components, such as panels, push buttons, pop-up menus, or axes, from the component palette, at the left side of the Layout Editor, into the layout area. For example, if you drag a push button into the layout area, it appears as in the following figure.

Figure showing push button in the layout area

You can also use the Layout Editor (along with the Toolbar Editor and Icon Editor) to create menus and toolbars, create and modify tool icons, and set basic properties of the GUI components.

To get started using the Layout Editor and setting property values, see Creating a Simple GUI with GUIDE in the MATLAB Creating Graphical User Interfaces documentation. Examples of GUIDE GUIs in the same documentation illustrates the variety of GUIs that you can create with GUIDE.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS