| MATLAB Function Reference | ![]() |
Syntax
h = warndlg('warningstring','dlgname')
Description
warndlg
displays a dialog box named 'Warning Dialog' containing the string 'This is the default warning string.' The warning dialog box disappears after you press the OK button.
warndlg('warningstring')
displays a dialog box with the title 'Warning Dialog' containing the string specified by warningstring.
warndlg('warningstring','dlgname')
displays a dialog box with the title dlgname that contains the string warningstring.
h = warndlg(...)
returns the handle of the dialog box.
Examples
warndlg('Pressing OK will clear memory','!! Warning !!')
See Also
dialog, errordlg, helpdlg, msgbox
| waitforbuttonpress | warning | ![]() |