title: Can't limit scope of variables in Matlab
body: <p>Can anyone get the function and class scoping feature to work, as documented in 
  <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_oop/brfynt_-1.html" rel="nofollow noreferrer">Scoping Classes with Packages</a> ?</p>
  
  <p>I create a directory C:\Windows\Temp+undergrad
  I put a file foo.m in there tat defines a function foo.
  I make sure C:\Windows\Temp is on the matlab path
  In matlab, type 'what undergrad' should result in a list of functions and classes defined in the package.  Instead I get "undergrad not found."</p>
  
  <p>I am using MATLAB Version 7.4.0.287 (R2007a) student version.</p>
  
  <p>Anyone have an idea if this package scoping stuff actually works in this version of Matlab?  The documentation gives no indication of what version the feature was introduced in.</p>