Getting Help for Functions and Blocks
Ways to Get Help for Functions and Blocks
| When You Are Using... | How to Get Help |
| Any desktop tool | See Finding Functions Using the Function Browser |
| Help browser Contents pane | Expand the listing for a product. Expand the Functions or Blocks entry
to view all functions or blocks in the product. Select a function or block to view its reference page. See Browsing for Documentation and Demos. |
| Help browser search | Search for a function or block name. Sort results by type, and then view results for the
Reference type. Select a function or block to view its reference page. See Searching for Documentation and Demos. |
| Page displayed in the Help browser | Select a function name on the page. Right-click, and select Help on Selection.
The Help browser goes to the reference page for the selected function. To view the code for the function, in step 2, select Open
Selection. The M-file opens in the Editor. |
| Current Folder browser | See: |
| Command Window or Editor | See Getting Help for a Function Shown in the Command Window or
Editor |
| Command Window | See: |
Back to Top
Help for Overloaded Functions
When there is more than one function with the same name (called
an overloaded function), the help features find
pages for all the functions. Choose the reference page for the specific
function you want.
For example, when you get help for a selected function from
the Editor, the Help browser displays the reference page for the first
function on the search path. At the top of the reference page is a
message bar containing links to references pages for the overloaded
functions.
Back to Top
When M-File Help Displays in the Help Browser
When a reference page for a function does not exist and M-file
help for the function exists, the Help browser displays M-file help.
For example, when you get help for a selected function from the Editor,
M-file help could appear. It could be for an M-file provided by a
user.
You can use the M-file help in the Help browser, or you can
access it in the Command Window using the help function.
Back to Top
See Also
Back to Top
 | Overview of Getting Help | | Searching for Documentation and Demos in the Help Browser |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit