Help and Documentation
All MATLAB® functions have supporting documentation that includes examples and describes the function inputs, outputs, and calling syntax. There are several ways to access this information from the command line:
-
Open the function documentation in a separate window using the
doccommand.doc mean
-
Display function hints (the syntax portion of the function documentation) in the Command Window by pausing after you type the open parentheses for the function input arguments.
mean(
-
View an abbreviated text version of the function documentation in the Command Window using the
helpcommand.help mean
Access the complete product documentation by clicking the help icon
.