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.

Dialog Boxes

Report status, gather user input, and interact with operating system or printers

Use dialog boxes to report status, ask questions, present printing options, or allow users to select folders and files on their system. Most dialog boxes have a predefined layout and behavior. In most cases, you can specify some aspects of the appearance and behavior, such as the text to display or the default selection.


expand all

errordlgCreate error dialog box
warndlgCreate warning dialog box
msgboxCreate message dialog box
helpdlgCreate help dialog box
waitbarCreate or update wait bar dialog box
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
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
printdlgOpen figure Print dialog box
printpreviewOpen figure Print Preview dialog box
exportsetupdlgOpen figure Export Setup dialog box
dialogCreate empty modal dialog box
uigetpref Create dialog box that opens according to user preference