Could not find version 7.14 of the MCR

72 vues (au cours des 30 derniers jours)
Grigory Zhadko
Grigory Zhadko le 23 Mai 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.

Réponses (1)

Madhura Suresh
Madhura Suresh le 16 Juin 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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by