Directly open custom documentation
古いコメントを表示
I've created custom documentation that when typing "doc" is viewable by following the trail under Supplemental Software. However, I would prefer to access the custom documentation directly without having to use "doc" and then follow down the Supplemental Software trail. Is there any way to directly open custom documentation with a single command?
採用された回答
その他の回答 (1 件)
Sean de Wolski
2019 年 12 月 23 日
web(fullfile(docroot, '3ptoolbox/toolbox_name/doc/Index.html'))
You can get this by navigating to your custom doc page's Index, right clicking and "Get Page Address". This provides the nav panel on the right-hand side.
4 件のコメント
per isakson
2019 年 12 月 23 日
Not on my system. I'm running R2018b. The info for my nav panel is in ...\doc\helptoc.xml. I have no file named Index.html
Sean de Wolski
2019 年 12 月 24 日
編集済み: Sean de Wolski
2019 年 12 月 24 日
I just confirmed it works in 19b and not 18b. This is the structure of the helptoc.xml I'm using:
<?xml version='1.0' encoding="utf-8"?>
<toc version="2.0">
<tocitem target="Index.html">Load Forecaster
<tocitem target="Setup/Index.html">Setup
<tocitem target="Setup/DemoSetup.html">Demo Setup</tocitem>
<tocitem target="Setup/ProductionSetup.html">Production Setup</tocitem>
</tocitem>
<tocitem target="Examples/DemoingIndex.html">Demoing Load Forecaster
<tocitem target="Examples/DemoingOnlineOffline.html">Demoing Online and Offline</tocitem>
<tocitem target="Examples/MakeForecast.html">Make a Load Forecast</tocitem>
<tocitem target="Examples/TrainModels.html">Train Models</tocitem>
<tocitem target="Examples/GenerateReport.html">Generate a Forecast Report</tocitem>
<tocitem target="Examples/DealingData.html">Dealing with the Data</tocitem>
</tocitem>
</SNIP>
Faker Mayfield
2019 年 12 月 24 日
Sean de Wolski
2019 年 12 月 24 日
Just confirmed it works in 19a as well so was apparently added then.
カテゴリ
ヘルプ センター および File Exchange で Adding custom doc についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
