Could not find version 7.14 of the MCR

83 views (last 30 days)
Grigory Zhadko
Grigory Zhadko on 23 May 2014
Answered: Madhura Suresh on 16 Jun 2014
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.

Answers (1)

Madhura Suresh
Madhura Suresh on 16 Jun 2014
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.

Community Treasure Hunt

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

Start Hunting!

Translated by