Main Content

Update figure-Based Apps

Migrate apps built with GUIDE to App Designer, or adopt recommended functionality in apps created using the figure function

The recommended ways to create apps are interactively using App Designer or programmatically using the uifigure function.

If you have existing apps created using GUIDE, you can continue to run the apps, but you cannot edit them using the GUIDE interactive design environment. To make changes to an existing GUIDE app, see GUIDE Migration Strategies.

If you have existing apps created using the figure function, you can continue to develop, run, and edit these apps, but they will not take full advantage of the features and UI components that are available with UI figures. For more information about adopting modern functionality in your apps, see Update figure-Based Apps to Use uifigure.

Functions

expand all

appmigration.migrateGUIDEAppMigrate GUIDE apps to App Designer (Since R2023a)
axesCreate Cartesian axes
uicontrolCreate user interface control
uitable Create table user interface component
uipanelCreate panel container
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 component
uitoolbarCreate toolbar in figure
uipushtoolCreate push tool in toolbar
uitoggletoolCreate toggle tool in toolbar
alignAlign UIControl components and Axes 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 user interface control
uistackReorder visual stacking of UI components
disableLegacyPaddingIncrease padding in panel UI container (Since R2025a)
enableLegacyPaddingDecrease padding in panel UI container (Since R2025a)

Alerts

errordlgCreate error dialog box
warndlgCreate warning dialog box
msgboxCreate message dialog box
helpdlgCreate help dialog box
waitbarCreate or update wait bar dialog box

Confirmation and Input

questdlgCreate question dialog box
inputdlgCreate dialog box to gather user input
listdlgCreate list selection dialog box
uisetcolorOpen color picker
uisetfontOpen font selection dialog box
export2wsdlgCreate dialog box for exporting variables to workspace

File System

uigetfileOpen file selection dialog box
uiputfileOpen dialog box for saving files
uigetdirOpen folder selection dialog box
uiopenOpen file selection dialog box and load selected file into workspace
uisaveOpen dialog box for saving variables to MAT-file

Printing and Export

uiprintdlgOpen figure print dialog box (Since R2025a)
uiexportdlgOpen figure export dialog box (Since R2025a)

Other

dialogCreate empty modal dialog box
uigetpref Create dialog box that opens according to user preference
uiwaitBlock program execution and wait to resume
uiresumeResume execution of suspended program
waitforBlock execution and wait for condition
waitforbuttonpressWait for click or key press
getappdataRetrieve application data
setappdataStore application data
isappdataDetermine if application data exists
rmappdataRemove application data
guidataStore or retrieve UI data
guihandlesRetrieve child objects of figure
uisetprefManage preferences used in uigetpref

Properties

expand all

Axes Properties Axes appearance and behavior
UIControl PropertiesControl appearance and behavior of user interface control
TableTable UI component
PanelPanel UI container
ButtonGroupButton group UI container
Tab Tab UI container
TabGroup Tab group UI container
MenuMenu UI component
ContextMenuContext menu UI component
ToolbarToolbar UI component
PushToolPush tool UI component
ToggleToolToggle tool UI component

Topics

GUIDE Apps

Programmatic Apps