This feature is available in MATLAB 7.0.1 (R14SP1). For previous releases, please read below for any possible workarounds:
The ability to access the parent directories of the "info.xml" file when specifying a relative path as the location of your documentation files is not available in MATLAB 7.0 (R14). Currently, you can specify a relative path to your documentation files in the "info.xml" file in the following three ways:
1) You can specify a relative path if the path to your documentation files is an extension of the path to the "info.xml" file. For example, suppose that your "info.xml" file is in the "D:\Applications\MATLAB7\mytoolbox" directory and your documentation files are in the "D:\Applications\MATLAB7\mytoolbox\helpfiles" directory. You can add the following line of code to your XML-file in order to specify the relative path to these documentation files:
<help_location>helpfiles</help_location>
2) You can use $toolbox to specify the $MATLAB/toolbox directory, where $MATLAB is the root directory where MATLAB is installed. For example, if your documentation files lie in the "D:/Applications/MATLAB7/toolbox/mytoolbox/help" directory, you would add the following line of code to your "info.xml" file:
<help_location>$toolbox/mytoolbox/help</help_location>
3) You can also use $docroot to refer to the root documentation directory (type "docroot" at the MATLAB command prompt to determine what "$docroot" represents in your MATLAB installation). For example, if your documentation files lie in the "D:/Applications/MATLAB7/help/mytoolbox/" directory, you would add the following line of code to your "info.xml" file:
<help_location>$docroot/mytoolbox</help_location>
Best Answer