Help for functions in Command Window
help name displays the help text for the functionality specified by name, such as a function, method, class, or toolbox.
String that specifies an operator symbol (such as +) or the name of a function, class, method, package, toolbox folder, or other functionality.
Some classes and other packaged items require that you specify the package name. Events, properties, and some methods require that you specify the class name. Separate the components of the name with periods, such as:
help className.name help packageName.name help packageName.className.name
If name is overloaded, that is, appears in multiple folders on the search path, help displays the help text for the first instance of name found on the search path, and displays a hyperlinked list of the overloaded functions and their folders.
When name specifies the name or partial path of a toolbox folder:
Display help for the MATLAB close function.
Because close refers to the name of a function and to the name of several methods, the help text includes hyperlinks to the overloaded methods.
Request help for the Database Toolbox™ close method.
Display help for the containers package, Map class, and the isKey method.
help containers help containers.Map help containers.Map.isKey
Not all packages, classes, and associated methods or events require complete specification. For example, display the help for the throwAsCaller method of the MException class.
List all of the functions in the folder matlabroot/toolbox/matlab/general by specifying a partial path.
View more extensive help using the doc command or the Function Browser. To open the Function Browser, click its icon, .
Some help text displays the names of functions in uppercase characters to make them stand out from the rest of the text. When typing these function names, use lowercase. For function names that appear in mixed case (such as javaObject), type the names as shown.
To prevent long descriptions from scrolling off the screen before you have time to read them, enter more on, and then enter the help statement.
Some classes require that you specify the package name to display the help text. To identify the package name, create an instance of the class, and then call class(obj).