title: Tab completion of custom class methods in Matlab
body: <p>I made a custom class where files are loaded by the constructor and by methods (the path is given as input), e.g.:</p>
  
  <p><strong>Classdeclaration:</strong></p>
  
  <pre><code>classdef Foo &gt; handle
    methods
      function o = Foo(file), end
      function bar(o,file), end
    end
  end
  </code></pre>
  
  <p><strong>TC.xml file</strong>:</p>
  
  <pre><code>  &lt;binding name="Foo" ctype="FILE"/&gt;
    &lt;binding name="bar" ctype="MCOSCLASS FILE"/&gt;
  </code></pre>
  
  <p><strong>Matlab command prompt:</strong></p>
  
  <p><code>s = Foo('</code> + <code>Tab</code> does list available files.</p>
  
  <p><code>s.bar('</code> + <code>Tab</code> works</p>
  
  <p>But the problem is that Tab completion is not limited to the class Foo. The trick to change the <code>TC.xsd</code> did not help as well unfortunatly. Yair Altman help me luckely so far to get to this point. Thx again for that.</p>
  
  <p>The whole procedure can be found <a href="http://undocumentedmatlab.com/blog/setting-desktop-tab-completions/">here</a>: </p>