errordlg
Creates a error dialog box.
📝Syntax
h = errordlg()
h = errordlg(text_error)
h = errordlg(text_error, title)
h = errordlg(text_error, title, mode)
📥Input Arguments
Parameter Description
text_error a string or a cell of string: the error message.
title a string: the title of the dialog box.
mode a string: 'mode', 'non-modal', 'replace'.
📤Output Arguments
Parameter Description
h a QObject handle.
📄Description

errordlg creates an error dialog box.

h = errordlg(text_error, title, 'replace') specifies whether to replace an existing dialog box having the same title.

💡Examples
h = errordlg()
h = errordlg('error string')
h = errordlg('error string', 'dialog title')
h = errordlg('error string', 'dialog title')
h = errordlg('error string', 'dialog title', 'on')
🔗See Also
warndlgquestdlghelpdlgmsgbox
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub