MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
XML Tag Description Value in Template Notes
<icon> Icon for the
Start button
(not used)

none No longer used, but the <icon>
element is still required for
MATLAB to parse the
info.xml file.
<help_location> Location of
help files

html Name of the subfolder
containing helptoc.xml and
the HTML help files for your
toolbox. If the help location is
not a subfolder of the
info.xml file location, specify
the path to help_location
relative to the info.xml file. If
you provide HTML help files for
multiple toolboxes, the
help_location in each
info.xml file must be a
different folder.
<help_contents_icon> Icon to display
in Contents
pane

none Ignored in MATLAB R2015a
and later. Does not cause error
if it appears in the info.xml
file, but is not required.

You also can include comments in your info.xml file, such as copyright and contact
information. Create comments by enclosing the text on a line between <!-- and -->.

When you create the info.xml file, make sure that:


  • You include all required elements.

  • The entries are in the same order as in the preceding table.

  • File and folder names in the XML exactly match the names of your files and folders
    and are capitalized identically.

  • The info.xml file is in a folder on the MATLAB search path.


NoteMATLAB parses the info.xml file and displays your documentation when you
add the folder that contains info.xml to the path. If you created an info.xml file in
a folder already on the path, remove the folder from the path. Then add the folder

30 Custom Help and Documentation

Free download pdf