title: Access a .mat file in MATLAB (without using Load function)
body: <p>I have a struct (of matrices) in Matlab that has been saved on the harddisk.  I currently use <code>load</code> to load these files inside my functions.  Do you have any suggestions of doing this someother way that is much faster?  </p>
  
  <p>(Yes, I can pass the struct as a variable to my function but that is not possible due to memory issues!).  Thanks!  This would be a great help! </p>
  
  <pre><code>A = struct('local', randn(200000,14), 'usd', randn(200000,14), ...
            'ttm', randn(180000,14), 'avg', randn(190000,14), ...
            'ttm1yr', randn(190000,14), 'avg1yr', randn(190000,14)) ;
  save('A.mat', 'A') ;                     clear all;clc
  
  tic, load A.mat, A=A.local; toc  %--&gt; Takes 1.05 seconds
  </code></pre>