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, use 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. See Cross-Platform Compatible Units for more
Existing objects within the UI resize with the window if their
'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
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
In the Layout Editor, open the Property Inspector for the figure by clicking the button (with no components selected).
the Property Inspector, scroll to the
and note whether the current setting is
Click the down arrow at the far right in
Units row, and select
In the Property Inspector, display
Position property elements by clicking the + sign
to the left of
to the point where you want the lower-left corner of the window to
appear, and its width and height.
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