errordlg
- :
h =errordlg()¶ - :
h =errordlg(errorstring)¶ - :
h =errordlg(errorstring, dlgname)¶ - :
h =errordlg(errorstring, dlgname, createmode)¶ Open a dialog window that shows an error message with an OK button, and return the handle h of its figure.
errorstring is a string, a character matrix, a cell array of strings or a string array; long lines are wrapped. Without it the text is
"This is the default error string.". dlgname is the title of the window,"Error Dialog"by default.createmode is
"non-modal"(the default),"modal","replace"(reuse an existing error dialog with the same title), or a structure with the fieldsWindowStyle, one of"modal","non-modal","replacing"or"normal", andInterpreter, one of"none","tex"or"latex".The figure has the tag
"Err_Dlg".