Main Content

Maintain or Transition figure-Based Apps

Maintain apps created programmatically using the figure function, or apps exported from GUIDE

If you create apps using the figure function or export a GUIDE app to a MATLAB® file, 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 other ways to build apps, see Ways to Build Apps.

Functions

expand all

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

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

printdlgOpen figure Print dialog box
printpreviewOpen figure Print Preview dialog box
exportsetupdlgOpen figure Export Setup dialog box

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