title: How to read multiple .dat files of data cubes using the multibandread command?
body: <p>I have several files that need to be read by the <code>multibandread</code> function in Matlab.</p>
  
  <p>I have done them one by one but it takes a very long time. The files have the same <code>.dat</code> extension. Here is how I read the <code>.dat</code> files individually :</p>
  
  <pre><code>X = multibandread('filename.dat', [x,y,z], 'uint8', 0, 'bil', 'ieee-le');
  </code></pre>