Why do I get "Could not find version 7.17 of the MCR"?

28 views (last 30 days)
I'm trying to execute a third part .exe file, which is compiled for 64bits Windows in Matlab.
In its "readme" file, it says that I need the MCR 7.17 2012a compiler to run the application, I already downloaded and installed it, but I still having problems. Although I can run the application in the cmd from Windows with any problems, but I can't use it the the MATLAB through the "system" command.
My MATLAB is the 2015a 64 bits
The MCR 7.17 is 64 bits
My Variable Path:
  • C:\Program Files\MATLAB\MATLAB Production Server\R2015a\runtime\win64;
  • C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin;
  • C:\Program Files\MATLAB\MATLAB Production Server\R2015a\polyspace\bin;
  • C:\Program Files\MATLAB\MATLAB Compiler Runtime\v717\runtime\win64
The full message:
"Could not find the version 7.17 of the MCR. Attempting to load mclmcrrt7_17.dll. Please install the correct version of the MCR. Contact your vendor if you do not have an installer for the MCR."
What i'm trying to do in MATLAB:
command = 'start C:\Users\in48\Documents\LEAR_2013 C:\Users\in48\cara7.png';
[status,cmdout] = system(command);
LEAR_2013 is the third part .exe

Accepted Answer

Walter Roberson
Walter Roberson on 30 May 2015
Try
command = 'set PATH=%PATH%;C:\Program Files\MATLAB\MATLAB Compiler Runtime\v717\runtime\win64 & start C:\Users\in48\Documents\LEAR_2013 C:\Users\in48\cara7.png';
[status,cmdout] = system(command);

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!