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
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.
View an abbreviated text version of the function documentation
in the Command Window using the
Access the complete product documentation by clicking the help icon .