This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan 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.


errordlgCreate error dialog box
warndlgCreate warning dialog box
msgboxCreate message dialog box
helpdlgCreate help dialog box
waitbarOpen or update wait bar dialog box
questdlgCreate question dialog box
inputdlgCreate dialog box that gathers 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 dialog box for selecting files to load 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
uigetprefConditionally open dialog box according to user preference
Was this topic helpful?