Package a
Toolbox
Dialog Box
Section
Description
Help Browser Integration—Custom documentation associated with
your toolbox. 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” on page 30-27.
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.
(^5) Package your toolbox.
- To save your toolbox, click Package at the top of the Package a Toolbox dialog
box. Packaging your toolbox generates a .mltbx file in your current MATLAB
folder. - To save your toolbox and share it on MATLAB Central File Exchange, select
Package and Share from the Package menu at the top of the Package a Toolbox
dialog box. This option generates a .mltbx file in your current MATLAB folder
and opens a web page for your toolbox submission to File Exchange. MATLAB
populates the File Exchange submission form with information about the toolbox.
Review and submit the form to share your toolbox on File Exchange.
When you create a toolbox, MATLAB generates a .prj file that contains information
about the toolbox and saves it frequently. It is good practice to save this
associated .prj file so that you can quickly create future revisions of your toolbox.
25 Programming Utilities