MATLAB: Can an application built with MATLAB Compiler 4.1.1 (R14SP1+) be run with the MATLAB Compiler 4.1 (R14SP1) runtime libraries

4.14.1.1MATLAB Compilermcrr14sp1version

I have generated a stand-alone application with MATLAB Compiler 4.1.1 (R14SP1+). I would like to deploy this application to a machine that already has the MATLAB Component Runtime (MCR) installed. However, when I try to run the application, I receive the following error:
The procedure entry point array_ref_getV_int could not be located in the dynamic link library mclmcrrt71.dll
The MCR version on the target machine corresponds to MATLAB Compiler 4.1 (R14SP1).

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This error is caused by an incompatibility between the compiled application version and the version of the runtime libraries. To work around this, you must always use the same version of the MATLAB Component Runtime (MCR) as the version of the MATLAB Compiler used to generate the stand-alone application.
For example, if you compile with MATLAB Compiler 4.1.1 (R14SP1+), you must install the same version of the MATLAB Component Runtime on the target machine in order to run the application.