title: How to find an .xlsx file in folder in Matlab?
body: <p>I have two folders and one .xlsx file in <code>project_dir</code>. I want to switch to this folder and read the information in the .xlsx file into matlab but I seem to be having problems.</p>
  
  <p>My Code:</p>
  
  <pre><code>project_dir='D:\MPhil\Model_Building\Models\TGFB\Vilar2006\SBML_sh_ver\vilar2006_SBSH_test7\Python_project3_IQM_project\vilar2006_SBSH_test6_2';
  cd(project_dir)
  dir *.xlsx
  </code></pre>
  
  <p>This work because it doesn't give me a handle to the xlsx file for subsequent reading. </p>
  
  <pre><code>dir(project_dir)
  </code></pre>
  
  <p>Also doesn't work because you get back a struct that can't be read by the xlsread function. </p>
  
  <p>Does anybody know how to do this? </p>