msgbox
Creates a message dialog box.
📝Syntax
h = msgbox(message)
h = msgbox(message, mode)
h = msgbox(message, title)
h = msgbox(message, title, mode)
h = msgbox(message, title, icon)
h = msgbox(message, title, icon, mode)
📥Input Arguments
Parameter Description
message a string or a cell of string: the message to display.
title a string: the title of the dialog box.
icon a string: 'none', 'error', 'help', 'warn' or 'question'.
mode a string: 'modal', 'on' or 'nonmodal'.
📤Output Arguments
Parameter Description
h a QObject handle.
📄Description

msgbox creates an message dialog box.

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

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