Is it possible to run a built exe without MCR?
이전 댓글 표시
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"?
채택된 답변
추가 답변 (1개)
walid merniz
2011년 8월 8일
0 개 추천
thanks
댓글 수: 6
KYAW KYAW
2011년 11월 21일
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
2011년 11월 21일
Please see the second paragraph in my answer regarding MATLAB Coder.
Walter Roberson
2011년 11월 21일
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
2016년 11월 20일
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
2016년 11월 20일
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
2016년 11월 20일
Use "ver" on the command line or this line of code:
>> hasLicenseForToolbox = license('test', 'Compiler')
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!