Skip to Main Content Skip to Search
Product Documentation

GUI Development

Predefined Dialog BoxesDialog boxes for error, user input, waiting, etc.
User Interface DeploymentOpen GUIs, create the handles structure
User Interface DevelopmentStart GUIDE, manage application data, get user input
User Interface ObjectsCreate GUI components
Objects from CallbacksFind object handles from within callbacks functions
GUI UtilitiesMove objects, wrap text
Program ExecutionWait and resume based on user input

Predefined Dialog Boxes

dialogCreate and display empty dialog box
errordlgCreate and open error dialog box
export2wsdlgExport variables to workspace
helpdlgCreate and open help dialog box
inputdlgCreate and open input dialog box
listdlgCreate and open list-selection dialog box
msgboxCreate and open message box
printdlgPrint dialog box
printpreviewPreview figure to print
questdlgCreate and open question dialog box
uigetdirOpen standard dialog box for selecting directory
uigetfileOpen standard dialog box for retrieving files
uigetprefSpecify and conditionally open dialog box according to user preference
uiopenInteractively select file to open and load data
uiputfileOpen standard dialog box for saving files
uisaveInteractively save workspace variables to MAT-file
uisetcolorOpen standard dialog box for setting object's ColorSpec
uisetfontOpen standard dialog box for setting object's font characteristics
waitbarOpen or update wait bar dialog box
warndlgOpen warning dialog box

User Interface Deployment

guidataStore or retrieve GUI data
guihandlesCreate structure of handles
moveguiMove GUI figure to specified location on screen
openfigOpen new copy or raise existing copy of saved figure
setpixelpositionSet component position in pixels

User Interface Development

getappdataValue of application-defined data
ginputGraphical input from mouse or cursor
guidataStore or retrieve GUI data
guideOpen GUI Layout Editor
inspectOpen Property Inspector
isappdataTrue if application-defined data exists
rmappdataRemove application-defined data
setappdataSpecify application-defined data
uigetprefSpecify and conditionally open dialog box according to user preference
uisetprefManage preferences used in uigetpref
waitforBlock execution and wait for event or condition
waitforbuttonpressWait for key press or mouse-button click

User Interface Objects

menuGenerate menu of choices for user input
uibuttongroupCreate container object to exclusively manage radio buttons and toggle buttons
uicontextmenuCreate context menu
uicontrolCreate user interface control object
uimenuCreate menus and menu items on figure windows
uipanelCreate panel container object
uipushtoolCreate push button on toolbar
uitableCreate 2-D graphic table GUI component
uitoggletoolCreate toggle button on toolbar
uitoolbarCreate toolbar on figure

Objects from Callbacks

findallFind all graphics objects
findfigsFind visible offscreen figures
findobjLocate graphics objects with specific properties
gcbfHandle of figure containing object whose callback is executing
gcboHandle of object whose callback is executing

GUI Utilities

alignAlign user interface controls (uicontrols) and axes
getpixelpositionGet component position in pixels
listfontsList available system fonts
moveguiMove GUI figure to specified location on screen
selectmoveresizeSelect, move, resize, or copy axes and uicontrol graphics objects
setpixelpositionSet component position in pixels
textwrapWrapped string matrix for given uicontrol
uisetcolorOpen standard dialog box for setting object's ColorSpec
uisetfontOpen standard dialog box for setting object's font characteristics
uistackReorder visual stacking order of objects

Program Execution

addprefAdd preference
getprefPreference
isprefTest for existence of preference
rmprefRemove preference
setprefSet preference
uigetprefSpecify and conditionally open dialog box according to user preference
uiresumeResume execution of blocked program
uisetprefManage preferences used in uigetpref
uiwaitBlock program execution and wait to resume
waitforBlock execution and wait for event or condition
waitforbuttonpressWait for key press or mouse-button click
  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS