title: MATLAB: force doc command to open a specified reference HTML page
body: <p>Say I've written a class in a package, called <code>mypackage.myclass</code>. I've written my own HTML documentation for the package and the class, and have included this within the MATLAB help browser as described in <a href="http://www.mathworks.co.uk/help/techdoc/matlab_prog/f3-40511.html">the MATLAB documentation</a>.</p>
  
  <p>I can display this HTML documentation by using the help browser to navigate directly to it, but typing <code>doc mypackage.myclass</code> does not display it; instead it displays some HTML documentation that is auto-generated by <code>helpwin</code> (which is a nice feature, but not what I want - the auto-generated documentation is too techy for my users).</p>
  
  <p>How can I force <code>doc</code> to display my documentation, rather than the auto-generated documentation?</p>
  
  <p>Equivalently:</p>
  
  <p>When you run <code>doc docTopic</code>, inside the doc command the Java class <code>com.mathworks.mlservices.MLHelpServices.showReferencePage(docTopic)</code> gets called. If a reference page for <code>docTopic</code> exists, it displays it and returns a success value. If a reference page doesn't exist, it returns a failure value, which then causes <code>helpwin(docTopic)</code> to get called. Somewhere there must be some catalog that connects values of <code>docTopic</code> with individual reference HTML files. How can I fiddle with that catalog - or can I create one for my package?</p>
  
  <p>MathWorkers and @Yair, please give me enough undocumented rope to hang myself with :)</p>