Documentation Center

  • Trial Software
  • Product Updates

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 doc command.

    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 help command.

    help mean

Access the complete product documentation by clicking the help icon .

Was this topic helpful?