Could not find version 7.14 of the MCR

51 次查看(过去 30 天)
I have .exe file which was build with Matlab Compiler on the other PC. I want to call this .exe file from my c# standalone application. There are no any problems if I run this .exe file using windows command prompt. When I call this file from the code I get Error windows with the message: " Could not find version 7.14 of the MCR. Attempting to load mclmcrrt7_14.dll". Please install the correct version of the MCR. Contact your vendor if you do not have an installer for the MCR. ". But I have installed MCR already. I checked MCR PATH environment variable, it leads to the correct directory. There is mclmcrrt7_14.dll file in this directory. I tried to build my application using different compile options (x64, x86) and it didn't help. Is is possible to solve this problem? I hope for your help.
Thank you.

回答(1 个)

Madhura Suresh
Madhura Suresh 2014-6-16
Hi Grigory,
Can you check your PATH variable to see if the MCR path to mclmcrrt7_14.dll is ahead than the path to the corresponding version of MATLAB?
For MATLAB R2011a 64-bit MCR, the default location of the MCR will look like this: C:\Program Files\MATLAB\MATLAB Compiler Runtime\v715\runtime\win64;
If you have installed the MCR somewhere else, it will be in: mcrroot\runtime\$arch
The term mcrroot stands for the installation path of the MCR and $arch stands for the architecture of the computer. For windows, the values of $arch will be win32 or win64.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by