title: Matlab: Loading files
body: <p>If I use the load function by matlab I normally end up doing something like this:</p>
  
  <pre><code>temp = load('filename.mat');
  realData = temp.VarName;
  clear temp
  </code></pre>
  
  <p>or </p>
  
  <pre><code>realData = load('filename.mat');
  realData = realData.VarName;
  </code></pre>
  
  <p>is any of this methods superiour to the other, especially in terms of memory usage? Or is there a more direct approach to avoid this temporary struct?</p>
  
  <p>Thx
  Thomas</p>