MATLAB Functions Help Desk

warndlg

Purpose

Warning dialog box

Syntax

Description

warndlg displays a dialog box named 'Warning Dialog' containing the string 'This is the default warning string.' The warning dialog disappears after you press the OK push button.

warndlg('warningstring') displays a dialog box named 'Warning Dialog' containing the string specified by 'warningstring'.

warndlg('warningstring','dlgname') displays a dialog box named 'dlgname' containing the string 'warningstring'.

h = warndlg(...) returns the handle of the dialog box.

Examples

The function

displays the following dialog box:

See Also

dialog, errordlg, helpdlg, msgbox



[ Previous | Help Desk | Next ]