Main Content

docsearch

Help browser search

Description

docsearch opens the Help browser and displays the documentation home page. If the Help browser is already open, but not visible, then docsearch brings it to the foreground.

example

docsearch expression searches the documentation for pages with words that match the specified expression and highlights them. To clear highlighting, press the Esc key. To search third-party or custom documentation, you must first run the builddocsearchdb command to build a search database for the additional help files.

Examples

collapse all

Find all documentation pages that contain the word plot.

docsearch plot

Find documentation pages containing the words plot and tools.

docsearch plot tools

Expand the search to include variations of the word plot, such as plotting or plots, using a wildcard character (*).

docsearch plot* tools

Find pages containing either word, but not necessarily both words, using the OR operator.

docsearch plot OR tools

Narrow the search to pages that include an exact phrase by enclosing the phrase in quotation marks.

docsearch('"plot tools"')

Input Arguments

collapse all

Expression that defines search terms, specified as a character vector. Expressions can include:

  • Quotation marks to specify exact phrases, such as "plot tools"

  • Boolean operator keywords in uppercase (listed here in order of precedence): NOT, OR, AND

  • Asterisk (*) wildcard characters, except at the beginning of a word or in an exact phrase (Searches require that at least two characters in the expression are not wildcard characters)

Tips

  • To access third-party or custom documentation without the docsearch command, open the Help browser and navigate to the documentation home page. Then, at the bottom of the page, click Supplemental Software.

Version History

Introduced before R2006a