title: error: can't perform indexing operations for <unknown type> type when sourcing
body: <p>With this code, saved as <code>test.m</code></p>
  
  <pre><code>function test()
   x = 1;
  endfunction    
  </code></pre>
  
  <p>I get the following error message when sourcing it via <code>source(test.m)</code> in the GUI:</p>
  
  <pre><code>&gt;&gt; clear
  &gt;&gt; source (test.m)
  x =  1
  error: can't perform indexing operations for &lt;unknown type&gt; type
  error: evaluating argument list element number 1
  &gt;&gt;
  </code></pre>
  
  <p>Calling the function test via <code>&gt;&gt; test</code> works fine, but I'd like to know what I'm doing wrong here.</p>
  
  <p><strong>Progress:</strong></p>
  
  <p>calling just test, in the right dir seems to do it, but then what are we sourcing for?</p>