helpdlg
Creates a warning dialog box.
📝Syntax
h = warndlg()
h = warndlg(text_warning)
h = warndlg(text_warning, title)
h = warndlg(text_warning, title, 'on')
📥Input Arguments
Parameter Description
text_warning a string or a cell of string: the warning message.
title a string: the title of the dialog box.
📤Output Arguments
Parameter Description
h a QObject handle.
📄Description

errordlg creates an warning dialog box.

h = warndlg(text_warning, title, 'on') specifies whether to replace an existing dialog box having the same name.

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