Main Content

Ways to Get Function Help

Each MATLAB® function has supporting documentation that includes examples and describes the function inputs, outputs, and calling syntax. This table describes ways to access that documentation.

Type of HelpHow to AccessExample or Icon

Reference page in the documentation

Use the doc command.

or

Select a function name in the Editor, Live Editor, or Command Window. Then, right-click and select Help on Selection.

doc mean

Function syntax hints in Command Window

After you type an open parenthesis for function inputs, pause or press Ctrl + F1.

mean(

Abbreviated help text in Command Window

Use the help command.

help mean

Function browser in Command Window

Click the function icon to the left of the command prompt.

Complete documentation in your system web browser

Click the Help button on the quick access toolbar or on the Home tab.

or

Enter search terms in the Search box in the top-right corner of the desktop.

Search the Documentation

To search for keywords in the documentation, enter text in the search box in the top-right corner of the desktop. If you have the documentation open in your system web browser, you can search for keywords by entering text in the search box at the top of the current documentation page.

Search box located in the top-right corner of the desktop, to the right of the quick access toolbar

When you open a page from the search results, the keywords that you searched for appear highlighted. To clear the highlighting, press the Esc key. To filter the search results, use the facets that appear on the left side of the page.

For example, view MATLAB topics by selecting MATLAB and Help Topics.

Documentation with a list of search results and Refine by Type and Refine by Category facets on the left side of the page

See Also

Related Topics