MATLAB Function Reference Previous page   Next Page
helpdlg

Create and display help dialog box

Syntax

Description

helpdlg creates a help dialog box or brings the named help dialog box to the front.

helpdlg displays a dialog box named 'Help Dialog' containing the string 'This is the default help string.'

helpdlg('helpstring') displays a dialog box named 'Help Dialog' containing the string specified by 'helpstring'.

helpdlg('helpstring','dlgname') displays a dialog box named 'dlgname' containing the string 'helpstring'.

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

Remarks

MATLAB wraps the text in 'helpstring' to fit the width of the dialog box. The dialog box remains on your screen until you press the OK button or the Return key. After you press the button, the help dialog box disappears.

Examples

The statement

displays this dialog box:

See Also

dialog, errordlg, questdlg, warndlg

Predefined Dialog Boxes for related functions


Previous page  helpdesk helpwin Next page

© 1994-2005 The MathWorks, Inc.