title: Invalid MEX-file, "Access is denied" using matlab
body: <p>I've come across the following error:</p>
  
  <blockquote>
    <p>"Invalid MEX-file
    'C:\Users\Patricia\Documents\Patricia\Winter2015\Lip
    Reading\CFAN_Code_v1.0\resize.mexw64': Access is denied."</p>
  </blockquote>
  
  <p>My permissions for the file are set to full control. <br>
  I'm trying to run it using the same version of matlab the file was compiled on (in fact, it works fine with this version of matlab on Linux!) and I'm using the same OS it was compiled on (64 bit Windows). Though I'm not sure whether it was compiled on Windows XP, 7, or 8. Could that be the reason?
  <br><br>
  When I run depends.exe on the file, it tells me: <br>
  Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. <br>
  And highlights the files: <br>
  c:\windows\system32\API-MS-WIN-CORE-SYNCH-L1-1-0.DLL <br>
  c:\windows\system32\SHCORE.DLL <br>
  c:\windows\system32\SHLWAPI.DLL <br>
  c:\windows\system32\EXT-MS-WIN-ADVAPI32-PSM-APP-L1-1-0.DLL <br>
  c:\windows\system32\EXT-MS-WIN-NTUSER-MESSAGE-L1-1-0.DLL <br>
  c:\windows\system32\IEFRAME.DLL <br></p>
  
  <p>Thank you very much for your time!! <br>
  Pat</p>