h = errordlg
h = errordlg(message)
h = errordlg(message, title)
h = errordlg(message, title, mode)
| Parameter | Description |
|---|---|
| message | Error text. Use a character vector, string, or cell array of character vectors. |
| Parameter | Description |
|---|---|
| h | Graphics figure handle. |
errordlg creates an error message dialog and returns a graphics figure handle.
h = errordlg('Invalid value.', 'Error', 'non-modal');
h = errordlg();
close(h)
| Version | Description |
|---|---|
| 2.0.0 | Updated dialog API help. |