>> help 'function name'in the Command Window, an M-help file appears in the Command Window. This file contains a short description of the function, the syntax, and other closely related help functions. This is MATLAB's most direct help facility, and you will often use this facility to quickly check how a certain function works and which notation should be used. If more extensive results are needed, try the command
lookfor 'topic'in the Command Window, you can call up all help possibilities which contain the specific search word. You can use this possibility to look for a function of which you do not remember the function name exactly. In this manner, all related topics appear in the Command Window.
Use of the Help Browser
You can use the "Help Browser" to look for documents and to have a look at MATLAB documents and other Mathworks products. The "Help Browser" is a html viewer that is integrated in the MATLAB desktop. With this browser you can look at the HTML documents belonging to MATLAB.
You can open the "Help Browser" in three different ways:
docin the Command Window.
When the "Help Browser" is opened, a window similar as the one below will appear:
The Help Browser consists of two parts. The left half, also called the Help Navigator, can be used to find information. In the right half you can look at the documentation. Below, the different tabs of the navigator are listed:
The best way to search
When you know the name of a MATLAB command you want to use, e.g. the function
plot, the fastest way to obtain
information is to type
>> help 'function name', in this case
>> help plot.This will show you some help
in the command window. An alternative is to use the command doc plot, that will open the help browser
containing a more extensive explanation, sometimes containing examples.
If you do not know the name of a function or do not know whether such a function exists, using the command
lookfor function or the Help Browser would be appropriate.