title: SPM12 debugging on Matlab
body: <p>I have a problem using SPM on Matlab. I have an <code>m-file</code> that I need to debug and I have not written. 
  This code is old and probably the error is hopefully given by the difference in syntax of the newer versions. 
  The error pops out using this function <code>spm_get_files</code>, originally present in the code. When changing this function to <code>spm_get</code> (I found that these two functions are supposedly equivalent) I get the following error:</p>
  
  <pre><code>Error using spm_get (line 1726)
  Illegal Action string
  Error in suj6 (line 46)
  Fr3 = spm_get('/home/***/folder','a3*093.img');
  </code></pre>
  
  <p>where <code>'/home/***/folder','a3*093.img'</code> is the directory of the input files I want to analyze. These are fMRI scans.</p>
  
  <p>My Matlab version is 9(R2016a) and the SPM is SPM12. (The code is old and was originally written in SPM99)</p>
  
  <p>Anyone can help me out?</p>
  
  <p>Thank you!</p>