title: Vlfeat in Octave- 'invalid use of script in index expression'
body: <p>I am having trouble getting the Vlfeat computer vision library in Octave to work. I compiled it following the instructions on the vlfeat website <a href="http://www.vlfeat.org/install-octave.html" rel="nofollow">http://www.vlfeat.org/install-octave.html</a> But when i try to run vl_version, octave gives me this error:</p>
  
  <pre><code>&gt;&gt; vl_version verbose
  error: invalid use of script /users/myu/downloads/vlfeat-0.9.18/toolbox/misc/vl_version.m in index expression
  </code></pre>
  
  <p>The same thing happens when I try to run a basic demo program:</p>
  
  <pre><code>&gt;&gt; vl_demo_sift_basic
  error: invalid use of script /users/myu/downloads/vlfeat-0.9.18/toolbox/sift/vl_sift.m in index expression
  error: called from:
  error:   /Users/myu/Downloads/vlfeat-0.9.18/toolbox/demo/vl_demo_sift_basic.m at line 29, column 6
  </code></pre>
  
  <p>I'm working on mac os x mavericks.
  I'm pretty new to octave and mac so I apologize if this is a very basic question. Thank you in advance for your help! :)</p>
  
  <p><strong>Update</strong>: Here is line 29 of the vl_demo_sift_basic code: (I is an image)</p>
  
  <pre><code>[f,d] = vl_sift(I) ;
  </code></pre>
  
  <p>I did some more looking and I'm not sure if the MEX files were compiled successfully--the vlfeat website says that once the MEX files are successfully compiled I should be able to look for them in toolbox/mex/octave/, however I cannot find this directory.</p>