# helpdlg

Creates a help dialog box.

## 📝 Syntax

* h = helpdlg()
* h = helpdlg(text\_help)
* h = helpdlg(text\_help, title)
* h = helpdlg(text\_help, title, 'on')

## 📥 Input argument

* text\_help - a string or a cell of string: the help message.
* title - a string: the title of the dialog box.

## 📤 Output argument

* h - a QObject handle.

## 📄 Description

errordlg creates an help dialog box.

h = helpdlg(text\_help, title, 'on') specifies whether to replace an existing dialog box having the same name.

## 💡 Examples

```matlab
h = helpdlg()
```

```matlab
h = helpdlg('help string')
```

```matlab
h = helpdlg('help string', 'dialog title')
```

```matlab
h = helpdlg('help string', 'dialog title')
h = helpdlg('help string', 'dialog title', 'on')
```

## 🔗 See also

[warndlg](/nelson/markdown/en/gui/warndlg.md), [errordlg](/nelson/markdown/en/gui/errordlg.md), [questdlg](/nelson/markdown/en/gui/questdlg.md), [msgbox](/nelson/markdown/en/gui/msgbox.md).

## 🕔 History

| Version | 📄 Description  |
| ------- | --------------- |
| 1.0.0   | initial version |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nelson-9.gitbook.io/nelson/markdown/en/gui/helpdlg.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
