MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
Beginning with MATLAB R2014b, you can maintain search indexes side by side. For
instance, if you already have a search index for MATLAB R2014a or earlier, run
builddocsearchdb against your help files using MATLAB R2014b. Then, when you run
any MATLAB release, the help browser automatically uses the appropriate index for
searching your documentation database.

Address Validation Errors for info.xml Files


What Are XML Validation Errors?

When MATLAB finds an info.xml file on the search path or in the current folder, it
automatically validates the file against the supported schema. If there is an invalid
construct in the info.xml file, MATLAB displays an error in the Command Window. The
error is typically of the form:

Warning: File <yourxmlfile.xml> did not validate.
...

An info.xml validation error can occur when you start MATLAB or add folders to the
search path.

The primary causes of an XML file validation error are:


  • Entities are missing or out of order in the info.xml file.

  • An unrelated info.xml file exists.

  • Syntax errors in the info.xml file.

  • MATLAB is trying to access an outdated info.xml file for a MathWorks product.


30 Custom Help and Documentation

Free download pdf