Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Components and Layout

Lay out UIs with components such as buttons, sliders, and text

UI component functions create interactive components for your app. You can modify the appearance and behavior of a particular component by changing certain property values. Layout functions modify certain aspects of your design, such as the alignment or the visual stacking order of components.

Functions

UI Components

figure Create figure window
axes Create axes graphics object
uicontrol Create user interface control object
uitable Create table UI component
uipanel Create panel container object
uibuttongroup Create button group to manage radio buttons and toggle buttons
uitab Create tabbed panel
uitabgroup Create container for tabbed panels
uimenu Create menus and menu items on figure windows
uicontextmenu Create context menu
uitoolbar Create toolbar on figure
uipushtool Create push button on toolbar
uitoggletool Create toggle button on toolbar
actxcontrol Create Microsoft ActiveX control in figure window

Layout

align Align UI components and graphics objects
movegui Move UI figure to specified location on screen
getpixelposition Get component position in pixels
setpixelposition Set component position in pixels
listfonts List available system fonts
textwrap Wrapped string matrix for given uicontrol
uistack Reorder visual stacking order of objects

Property Inspection

inspect Open Property Inspector

Properties

Figure Properties Control appearance and behavior of figure window
Axes Properties Control axes appearance and behavior
Uicontrol Properties Control appearance and behavior of user interface control
Uitable Properties Control appearance and behavior of table
Uipanel Properties Control appearance and behavior of panel
Uibuttongroup Properties Control appearance and behavior of button group
Uitab Properties Control appearance and behavior of tabbed panel
Uitabgroup Properties Control appearance and behavior of tabbed panel container
Uimenu Properties Control appearance and behavior of menu
Uicontextmenu Properties Control appearance and behavior of context menu
Uitoolbar Properties Control appearance and behavior of tool bar
Uipushtool Properties Control appearance and behavior of uipushtool
Uitoggletool Properties Control appearance and behavior of uitoggletool
Was this topic helpful?