custom class documentation question
古いコメントを表示
If I build a class in Matlab and type doc(class_name) the documentation comes up with information on the properties, methods, etc. of that class, somehow automatically generated from the .m code file itself. Is there a way to capture this in an .html file or a .m file that could be published into .html using publish()? With the help() command you can specify an output argument to capture the help as a character array (then fprintf() into a .m file and publish() it), but with doc() you cannot do this.
2 件のコメント
mcg
2020 年 4 月 17 日
Daniel Dolan
2020 年 11 月 11 日
com.mathworks.mlservices.MLHelpServices.setHtmlText is a static Java method.
回答 (1 件)
Daniel Dolan
2020 年 11 月 11 日
0 投票
You might take a look at the help2html function, located in the same directory as the doc function. It is an unsupported file and gould change at any time, so be wary.
カテゴリ
ヘルプ センター および File Exchange で Adding custom doc についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!