Development Environment    

Viewing Function Reference Pages--the doc Function

To view the reference page for a function, block, or property in the Help browser, use doc. This is like using the Help browser search feature, with Search type set to Function name. For example, type

to view the reference page for the format function.

Overloaded Functions

When a function name is used in multiple products, it is said to be an overloaded function. The doc function displays the reference page for the first function having that name on the MATLAB search path, and lists the overloaded functions in the Command Window. To get help 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 the Database Toolbox, type


  Using Help Functions Getting Help in the Command Window--the help Function