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