MATLAB Language Documenting functions


  • Help text can be located before or after the function line, as long as there is not code between the function line and the start of the help text.
  • Capitalization of the function name only bolds the name, and is not required.
  • If a line is prepended with See also, any names on the line that match the name of a class or function on the search path will automatically link to the documentation of that class/function.
    • Global functions can be referred to here by preceding their name with a \. Otherwise, the names will first try and resolve to member functions.
  • Hyperlinks of the form <a href="matlab:web('url')">Name</a> are allowed.