- You need to install a Supported Compiler (look under your platform, and ensure that the column for "MATLAB Compiler" is checked), to be able to use MATLAB Compiler, and a few other products - the table that I pointed to lists those products in the column headings. A C/C++ compiler is not needed for regular MATLAB-file execution.
- You need to install the MATLAB Compiler Runtime (MCR) on any target machine where the executable is deployed. You can package the MCR Installer into the executable by checking the "Include MCR" option in deploytool at the time of compilation. Alternatively, you can manually copy over the installer and run it on the target machine. To locate the installer, just run "mcrinstaller" on the machine where the executable was compiled.
mclmcrt710 error while running .exe matlab file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have written a piece of code in MATLAB(V2009b) which involves GUI applications too. I would like to convert it to an executable file so that to run that software, I do not have to show the original code to the user. However, I am facing a lot of trouble with this.
1. To convert the .m file to .exe file, I installed the mcr using the mcrinstaller command to get the location and so on. But when I am trying to convert the .m file to .exe file using the command >> mcc -m myfun.m it asks to select a compiler, but the only option it shows is [0]None. Can anybody please explain what this means? If I do not have a compiler, then how do my other codes in MATLAB work fine. That code itself works fine by just loading it.
2. Moving on, I managed to convert that file to a .exe file using a different system which had version R2009a. But when I try to open the converted file in my system, it shows the error The program can't start because mclmcrt710.dll is missing from your computer. Try re-installing the program....
Please could anyone provide any help with these errors. Thanks in advance
0 Kommentare
Antworten (1)
Kaustubha Govind
am 19 Jun. 2013
2 Kommentare
Kaustubha Govind
am 20 Jun. 2013
Have you tried running "mbuild -setup" to see if the utility picks up the installed compiler? Btw, please restart MATLAB after installation.
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!