This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Designing Apps

Lay out and configure the look and feel of an app

Design the look and feel of your app by adding and arranging UI components, and by configuring aspects such as size, color, and initial values.

Functions

expand all

figureCreate figure window
axesCreate Cartesian axes
uicontrolCreate user interface control
uitable Create table user interface component
uipanelCreate panel container object
uibuttongroupCreate button group to manage radio buttons and toggle buttons
uitabCreate tabbed panel
uitabgroupCreate container for tabbed panels
uimenuCreate menu or menu items
uicontextmenuCreate context menu
uitoolbarCreate toolbar on figure
uipushtoolCreate push button on toolbar
uitoggletoolCreate toggle button on toolbar
actxcontrolCreate Microsoft ActiveX control in figure window
alignAlign UI components and graphics objects
moveguiMove figure to specified location on screen
getpixelpositionGet component position in pixels
setpixelpositionSet component position in pixels
listfontsList available system fonts
textwrapWrap text for uicontrol
uistackReorder visual stacking of UI components
Property InspectorOpen property inspector

Properties

expand all

Figure PropertiesControl appearance and behavior of figure window
Axes Properties Axes appearance and behavior
UIControl PropertiesControl appearance and behavior of user interface control
Table PropertiesControl appearance and behavior of table UI component
Panel PropertiesControl appearance and behavior of panel
ButtonGroup PropertiesControl appearance and behavior of button group
Tab PropertiesControl appearance and behavior of tab
TabGroup PropertiesControl appearance and behavior of tab group
Menu PropertiesControl appearance and behavior of menu
ContextMenu PropertiesControl appearance and behavior of context menu
Toolbar PropertiesControl appearance and behavior of tool bar
PushTool PropertiesControl appearance and behavior of push tool
ToggleTool PropertiesControl appearance and behavior of toggle tool

Topics

Create Apps Using GUIDE

Add Components to the GUIDE Layout Area

Learn how to add, move, copy, paste, duplicate, and resize components. Add identifiers to components using the Tag property.

Create Menus for GUIDE Apps

Learn how to create context menus and menus in the menu bar using GUIDE.

Create Toolbars for GUIDE UIs

Learn how to add and edit toolbar items using the Toolbar Editor.

Set the UI Window Size in GUIDE

Learn how to set the UI window size, control resize behavior of components, and control the appearance of the GUIDE layout area.

Align GUIDE UI Components

Learn different ways to align UI components.

Customize Tabbing Behavior in a GUIDE UI

Learn how to control tabbing behavior in your app using GUIDE.

Design Cross-Platform UIs in GUIDE

Learn how to create UIs that behave more consistently on different platforms.

Create Apps Programmatically

Add Components to a Programmatic App

Learn how to create and modify UI components programmatically.

Create Menus for Programmatic Apps

Learn how to create context menus and menus in the menu bar programmatically.

Create Toolbars for Programmatic Apps

Learn how to add and edit toolbar items programmatically.

Lay Out a UI Programmatically

Set the size, location, and front-to-back order of components programmatically.

DPI-Aware Behavior in MATLAB

Learn about DPI-aware behavior that improves the appearance of graphical elements on high-resolution systems.

Customize Tabbing Behavior in a Programmatic App

Learn how to control tabbing behavior in your app programmatically.