Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

helpdlg

Create help dialog box

Syntax

helpdlg
helpdlg(helpstring)
helpdlg(helpstring,dlgname)
h = helpdlg(...)

Description

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

    Note   A nonmodal dialog box enables the user to interact with other windows before responding. For more information, see WindowStyle in the MATLAB® Figure Properties.

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

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

helpdlg(helpstring,dlgname) displays a dialog box entitled dlgname containing the message specified by helpstring.

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

Examples

The statement

helpdlg('Choose 10 points from the figure',...
        'Point Selection');

displays this dialog box:

More About

collapse all

Tips

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 Enter key. After either of these actions, the help dialog box disappears.

Introduced before R2006a

Was this topic helpful?