Is it possible to run a built exe without MCR?
Mostrar comentarios más antiguos
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"?
Respuesta aceptada
Más respuestas (1)
walid merniz
el 8 de Ag. de 2011
0 votos
thanks
6 comentarios
KYAW KYAW
el 21 de Nov. de 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
el 21 de Nov. de 2011
Please see the second paragraph in my answer regarding MATLAB Coder.
Walter Roberson
el 21 de Nov. de 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
el 20 de Nov. de 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
el 20 de Nov. de 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
el 20 de Nov. de 2016
Use "ver" on the command line or this line of code:
>> hasLicenseForToolbox = license('test', 'Compiler')
Categorías
Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!