
4 Help for Using MAT LAB
database/set
which is the set functionforDatabaseToolbox. Clickalinktogotothat
set reference page.
To directly get the reference page for an overloaded function, specify the name
of the directory containing the function you want the reference page for,
followed by the function name. For example, to display the reference page for
the
set function in Database Toolbox, type
doc database/set
Some products have more than one function with the same name. For example,
MATLAB includes a built-in
get function in the graphics directory and a get
function in the MATLAB serial directory (for serial port functions). Type
doc get
The reference page for the MATLAB graphics built-in get function appears,
and the Command Window lists overloaded functions in other products.
But the list does not include any overloaded functions in the same product.
Therefore,
get in the MATLAB serial directo ry is not listed as an overlo aded
function. Type
doc ('get (serial)')
to display the reference page for the get function located in the MATLAB
serial directory.
Getting Help in the Command Window — the help
Function
To quickly view a brief description and syntax for a function in the Command
Window, use the
help function. For example, typing
help bar
displays a d escription and syntax for the bar function in the Command
Window. This is called the M-file help. For other arguments you can supply,
seethereferencepagefor
help.
4-46
Comentários a estes Manuais