Is it possible to run a built exe without MCR?
Mostra commenti meno recenti
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"?
Risposta accettata
Più risposte (1)
walid merniz
il 8 Ago 2011
0 voti
thanks
6 Commenti
KYAW KYAW
il 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
il 21 Nov 2011
Please see the second paragraph in my answer regarding MATLAB Coder.
Walter Roberson
il 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
il 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
il 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
il 20 Nov 2016
Use "ver" on the command line or this line of code:
>> hasLicenseForToolbox = license('test', 'Compiler')
Categorie
Scopri di più su C Shared Library Integration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!