doc
Documentation in system web browser
Description
doc opens the documentation in a new tab in your system
web browser. If your system web browser is open but not visible, then
doc brings it to the foreground.
doc displays
documentation for the functionality specified by namename,
such as a function, class, or block.
If
namecorresponds to a MathWorks® reference page, thendocdisplays the page in your system web browser. Thedoccommand does not display third-party or custom HTML documentation.If
namedoes not correspond to a reference page, thendocsearches for help text in a file namedorname.m. If help text is available,name.mlxdocdisplays it in your system web browser.If
namedoes not correspond to a reference page and there is no associated help text, thendocsearches the documentation fornameand displays the search results in your system web browser.
Examples
Input Arguments
Tips
To access third-party or custom documentation, open your system web browser and navigate to the documentation home page. On the left side of the home page, click Supplemental Software. Then, click the name of the third-party or custom documentation that you want to access.

