Is it possible to run a built exe without MCR?
Ältere Kommentare anzeigen
I used deploytool to create a Windows Standalone Application. Is it possible to create an executable which doesn't depend on the MCR? Do I always have to provide the MCRInstaller, which has to be installed before running my executables created by MATLAB? Or is there an opportunity to bind the installed files in my package to make the exe completely "standalone"?
Akzeptierte Antwort
Weitere Antworten (1)
walid merniz
am 8 Aug. 2011
0 Stimmen
thanks
6 Kommentare
KYAW KYAW
am 21 Nov. 2011
Hi,
I would like to know any *.exe from *.m file can run any other pc without installing Matlab or something if possible.
Thanks and best regards
Kyaw
Kaustubha Govind
am 21 Nov. 2011
Please see the second paragraph in my answer regarding MATLAB Coder.
Walter Roberson
am 21 Nov. 2011
The only way to do that would be to use MATLAB Coder (current product name), which creates C code. The product is expensive and there are quite a number of aspects of MATLAB that cannot be compiled with the product.
MATLAB Compiler generates a .exe but does require installation of MCR (MATLAB Component Runtime) on the target computer. It is possible to build self-extracting installers that will install MCR along with your .exe .
kyikyi wai
am 20 Nov. 2016
hi I cannot make m file to exe showing mcc error. Could u please tell me how to fix it.
Thank you. kaung
Walter Roberson
am 20 Nov. 2016
You need the MATLAB Compiler product for mcc .
Note: MATLAB Compiler is only available for the Standard / Professional license, and for the Academic license; it is not available for Student license or Home license.
Image Analyst
am 20 Nov. 2016
Use "ver" on the command line or this line of code:
>> hasLicenseForToolbox = license('test', 'Compiler')
Kategorien
Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!