generateDoc
- :
outfile =generateDoc(name)¶ - :
outfiles =generateDoc(names)¶ - :
outfile =generateDoc(name, outputDir)¶ - :
outfile =generateDoc(name, option, value, …)¶ Write an HTML documentation page for each function from its
.mheader comments (the contiguous comment block after the function or classdef line), the same texthelpwould show for a plain MATLAB-style header.name is a function name on the path or a path to a
.mfile. names may be a cell array of names; the result is then a column cell array of output paths.The optional outputDir (or name/value
"OutputDir") is the folder for the HTML files. The default is html under the current directory. Each page is named <stem>.html.The returned path is a character row vector (or a cell column of those when several names are given). With no output argument the path is still written but not returned.