How do I package custom documentation with my toolbox?

5 次查看(过去 30 天)
I made a custom toolbox and I have already created custom documentation for it, including the necessary HTML and XML files. However, I can only seem to find information on how to create my documentation, not how to distribute it.
How can I package this with my toolbox such that another user can see my documentation in the browser after typing "doc"?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2021-3-4
The information on how to do this can be found at the following documentation page:
On this page, the relevant information for you can be found in Step 4:
  • For the Package a Toolbox tool to recognize custom documentation, include an info.xml file to identify your documentation files. If you use the builddocsearchdb function to build the documentation database before packaging your toolbox, you can include the generated helpsearch subfolder in your toolbox. The info.xml file and the helpsearch folder allow recipients to access your documentation through the Supplemental Software link at the bottom of the Help browser home page. For more information, see Display Custom Documentation.
  • Alternatively, you can generate info.xml and helptoc.xml template files from the Package a Toolbox dialog box. To access your documentation through the Help browser, complete the documentation templates and include info.xml on the MATLAB path.
For more information on creating the files mentioned in the above text, you can refer to the following page:
For general information on creating a custom toolbox, you can refer to the following page:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Adding custom doc 的更多信息

产品


版本

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by