12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

questdlgPurpose2questdlgCreate and display question dialog boxSyntaxDescriptionbutton = questdlg('qstring')button = questdlg('qstring','title')button = questdlg('qstring','title','default')button = questdlg('qstring','title','str1','str2','default')button =questdlg('qstring','title','str1','str2','str3','default')button = questdlg('qstring') displays a modal dialog presenting thequestion 'qstring'. The dialog has three default buttons, Yes, No, andCancel. 'qstring' is a cell array or a string that automatically wraps to fitwithin the dialog box. button contains the name of the button pressed.button = questdlg('qstring','title') displays a question dialog with'title' displayed in the dialog’s title bar.button = questdlg('qstring','title','default') specifies which pushbutton is the default in the event that the Return key is pressed. 'default'must be 'Yes', 'No', or 'Cancel'.button = questdlg('qstring','title','str1','str2','default')creates a question dialog box with two push buttons labeled 'str1' and'str2'. 'default' specifies the default button selection and must be 'str1' or'str2'.button =questdlg('qstring','title','str1','str2','str3','default') creates aquestion dialog box with three push buttons labeled 'str1', 'str2', and'str3'. 'default' specifies the default button selection and must be 'str1','str2', or 'str3'.2-378

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!