Create confirmation dialog box
uiconfirm(
displays a modal in-app confirmation dialog box in the specified target figure. The
target figure must be created with the fig
,message
,title
)uifigure
function. This syntax
displays two options for the user to select, OK and
Cancel. The figure behind the dialog box is not
accessible while the dialog box is displaying, but the MATLAB® command prompt is accessible.
uiconfirm(
displays the confirmation dialog box with one or more fig
,message
,title
,Name,Value
)Name,Value
pair arguments that customize the appearance and behavior of the dialog box. For
example, you can specify a custom set of options in the dialog box instead of the
default, OK and Cancel.
returns the user's selection as a character vector. Specify the
selection
= uiconfirm(___)selection
output argument with any of the previous
syntaxes. When you use this syntax, the MATLAB command prompt is not accessible while the dialog box is
displaying.
questdlg
| uialert
| uifigure
| uiprogressdlg