|
See the documentation here for an example of how to write comments in your class that will get picked up by the DOC command and formatted into a nice HTML file:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/bruby4n-1.html#brubz7_-1
If you just want to see an example of how it will look, try these commands one at a time:
% Change the current directory to where the example file is located.
cd(fullfile(matlabroot,'help','techdoc','matlab_env', 'examples'))
% View help for the file in the Help browser.
doc sads
% For more information, follow links. Or go directly to help, e.g. for the steer method.
doc sads.steer
"MM " <manmedia@yahoo.com> wrote in message <golpg5$r19$1@fred.mathworks.com>...
> Hi Daryl,
>
> Thanks for the answer. I was actually referring to the help file that MATLAB has..the one that you get by typing ">>doc fft " for example, for the FFT function documentation. Can you tell me how to get that sort of documentation?
>
> Thanks
>
> -------------------------------------------
> "MM " <manmedia@yahoo.com> wrote in message <goli9j$7jt$1@fred.mathworks.com>...
> > Hello,
> >
> > I was wondering if someone could tell me how someone could create a user documentation (like Help file) for his own class. Is there any book that suggests it?
> >
> > thanks,
> > MM
|