- The files for the MCR need to be in place
- The system path variable needs to point to those files.
Why do I get a "could not find version 7.14 of the MCR..." error when running my compiled compiled .exe?
조회 수: 92(최근 30일)
Wrote a simple .m file to try MATLAB compiler (come with MATLAB R2010b).
After build and package, all are put into one single folder (on my computer), which contains sub-folder v714. Yet when double clicked the .exe file, got the error "could not find version 7.14 of the MCR...".
Todd Flanagan 2011년 2월 9일
There are really 2 things that need to happen to run an application created by the MATLAB compiler.
The mcrinstaller command can be used from the MATLAB command line to find the mcrinstaller.exe binary. For example:
The WIN64 MCR Installer, version 7.14, is:
MCR installers for other platforms are located in:
<ARCH> is the value of COMPUTER('arch') on the target machine.
It is also possible to test your application against your MATLAB install if the MATLAB Compiler is also installed. You can do this from the MATLAB command line like:
Or from a CMD shell as long as the PATH contains the runtime directory from your MATLAB install like:
C:\work\myexe>set PATH=C:\Program Files\MATLAB\R2010b\runtime\win64