Skip to content Skip to sidebar Skip to footer

Export Auto-generate Matlab Doc To Html

I want to generate a complete help for a Matlab toolbox I have developped. I have seen how to Display custom documentation by making a helptoc.xml file, but I do not understand how

Solution 1:

You can use help2html which is not very documented but it works.

Calling:

html = help2html(mfilename);

returns verbatim the HTML file that gets displayed by doc as a 1XN char array. mfilename is the full path to the m-file you want to document. Though as an undocumented function, its interface isn't guaranteed to stay constant, the copyright notice is from 2008. So it looks like the file isn't being touched often and you can probably trust it to keep working for a while.

Post a Comment for "Export Auto-generate Matlab Doc To Html"