title: Why my m-file compiled with mcc does not run on my laptop (with Matlab) and on my pc (with MCR 8.2)?
body: <p>I compiled an M-file on my laptop, obtaining an EXE file (lets say <code>myexe.exe</code>). I have MATLAB 2011b installed.</p>
  
  <p>If I double click on <code>myexe.exe</code>, or if I run it from MATLAB command prompt with <code>!myexe.exe</code>, a window pops up saying:</p>
  
  <blockquote>
    <p>Could not find version 7.16 of MCR. Attempting to load mclmcrrt7_16.dll.
    Please install the correct version of the MCR.</p>
  </blockquote>
  
  <p>Now, MATLAB Compiler Runtime (MCR) should be a standalone set of shared libraries that enables the execution of compiled MATLAB applications or components in computers in which MATLAB is not installed. I have MATLAB on my PC so why is it complaining about MCR?</p>
  
  <p>Also, I copied this file to another computer in which I do not have MATLAB but I have MCR 8.2, it gives me the same error. I thought MCR was ensuring backward compatibility. Should I copy the MCR version 7.16 from my laptop to my PC and install it (I saw it is located in <code>C:\Program Files\MATLAB\R2011b\toolbox\compiler\deploy\win64\MCRInstaller.exe</code>, and I saw <a href="http://www.mathworks.it/matlabcentral/answers/102061-what-is-the-version-of-the-matlab-compiler-runtime-mcr-that-corresponds-to-the-version-of-matlab-c" rel="nofollow">here</a> that 7.14 is the MCR corresponding to MATLAB 2011b)?</p>
  
  <p>What about my Laptop? Do I have to install MCR version 7.16 also there? I don't get why I should.</p>
  
  <p>thanks
  A.</p>