h = warndlg
h = warndlg(message)
h = warndlg(message, title)
h = warndlg(message, title, mode)
| Parameter | Description |
|---|---|
| message | Warning text. Use a character vector, string, or cell array of character vectors. |
| Parameter | Description |
|---|---|
| h | Graphics figure handle. |
warndlg creates a warning message dialog and returns a graphics figure handle.
f = warndlg('Check the input value.', 'Warning', 'non-modal');
drawnow();
h = warndlg({'Input is empty.', 'Default values will be used.'}, 'Warning', 'non-modal');
close(h)
| Version | Description |
|---|---|
| 2.0.0 | Updated dialog API help. |