What resources exist for explaining how to write MATLAB comments in the correct format for display with "doc" (this is the help browser).
In particular, I am writing a class and would like the help documentation to look like MATLAB. I focus on practical features, such as documenting various ways to call a function. I could not find documentation on which markup to use in the comments to achieve this.
(As an added bonus, I would like the autocomplete tooltips for the class functions to display something meaningful, but not MyFunction(MyClass object...), but it becomes too specific at this stage! I will ask again if this happens Naturally, if I have documentation )
source
share