h = msgbox(message)
h = msgbox(message, title)
h = msgbox(message, title, icon)
h = msgbox(message, title, icon, mode)
h = msgbox(message, mode)
| Parameter | Description |
|---|---|
| message | Message text. Use a character vector, string array, or cell array of character vectors for multiple lines. |
| Parameter | Description |
|---|---|
| h | Graphics figure handle. |
msgbox creates a message dialog and returns a graphics figure handle. The handle can be used with get, set, close, delete, and waitfor.
h = msgbox({'Operation', 'completed'}, 'Status', 'help', 'non-modal');
h = msgbox('Ready.', 'Status', 'none', 'non-modal');
close(h)
| Version | Description |
|---|---|
| 2.0.0 | Updated dialog API help. |