Trouble with calling an exe file from matlab?
Show older comments
Hi everybody! I had some .m files packaged in an .exe file by using compiler toolbox of matlab. When I tried to run it by both clicking and calling from matlab (using 'system' command), it failed with this error!

After installing correct version of MCRInstaller, I could run the .exe file by click on it, but attempting to call it from matlab (using 'system' command) still failed with that error. :( Could any one help me with this problem! I'm using Win8.1 and Matlab 2013a. Thank you very much!
Answers (1)
Image Analyst
on 1 Feb 2015
0 votes
What happens if you try to launch your .exe by double clicking on it's icon or from a console window where you type its name? What if you use the ! operator to run your .exe from the MATLAB development environment command window?
Also, tell me the folders you have under c:\program files\matlab. There should be a subfolder called something like MCR Runtime Libraries and subfolders under there for the different versions.
1 Comment
halil
on 27 Sep 2019
Hi
I am trying to run an exe matlab file that was in 2013a , I have matlab 2017b, I tried to run the exe file but i receive the message "cannot find version....". I did install the mcr , but the same problem.
Categories
Find more on MATLAB Compiler SDK 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!