title: clear variables in memory
body: <p>I am running the following code:</p>
  
  <pre><code>DIRECTORY ='/Users/myfolder/output/cond';
  saveF = '/Users/myfolder/output';
  
  Ext = '*cond.mat';
  cd(DIRECTORY)
  Files = dir(Ext);
  process = size(Files,1);
  </code></pre>
  
  <p>However, every time I try to run it, a previous Directory (DIRectory) appears in the workspace, in addition to the variables created in the script. This causes issues later on, because it tries to load files that are in the DIRectory, instead of DIRECTORY.</p>
  
  <p>I tried to call <code>clear all</code>, <code>clear</code>, and to directly clear from the workspace, but with no success.</p>
  
  <p>I also tried to close Matlab and to restart my computer, but it doesn't work. The previous deleted DIRectory appears again and again in the workspace.</p>
  
  <p>I also thought that the same spelling may have caused the problem. However, even if I change the name DIRECTORY to 'folder', when I run the script, the variable DIRectory reappears....</p>