The GUIDE environment will be removed in a future release. After GUIDE is removed, existing GUIDE apps will continue to run in MATLAB® but they will not be editable in GUIDE.
To continue editing an existing GUIDE app, see GUIDE Migration Strategies for information on how to help maintain compatibility of the app with future MATLAB releases. To create new apps interactively, Develop Apps Using App Designer instead.
Set the size of the UI window by resizing the grid area in the Layout Editor. Click the lower-right corner of the layout area and drag it until the UI is the desired size. If necessary, make the window larger.
As you drag the corner handle, the readout in the lower right corner shows the current position of the UI in pixels.
Units property to
characters (nonresizable UIs) or
normalized (resizable UIs) gives the UI a more
consistent appearance across platforms.
Existing objects within the UI resize with the window if their
Units are set to
'normalized'. To prevent them from
resizing with the window, perform these steps:
Set each object’s
to an absolute value, such as inches or pixels
before enlarging the UI.
To change the
Units property for
all the objects in your UI simultaneously, drag a
selection box around all the objects, and then click
the Property Inspector button and set the
When you finish enlarging the UI, set each object’s
Units property back to
In the Layout Editor, open the Property Inspector for the figure by clicking the button (with no components selected).
In the Property Inspector, scroll
Units property and note
whether the current setting is
Click the down arrow at the far right in the
Units row, and select
In the Property Inspector, display
Position property elements by
clicking the + sign to the left of
y coordinates to the point
where you want the lower-left corner of the window
to appear, and its width and height.
Units property to its
previous setting, as noted in step 2.
You can make maximum use of space within the Layout Editor by hiding the GUIDE toolbar and status bar, and showing only tool icons, as follows:
From the View menu, deselect Show Toolbar.
From the View menu, deselect Show Status Bar.
Select File > Preferences, and then clear Show names in component palette