How to create exe file in Matlab 2009a from .m file ??
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
이전 댓글 표시
0 개 추천
How to create exe file in Matlab 2009a from .m file ??
채택된 답변
Arnaud Miege
2011년 4월 7일
You need to use the MATLAB Compiler to generate an executable. The executable uses a runtime engine called the MATLAB Compiler Runtime (MCR), which needs to be installed on the end-user machine before he can run the executable. You can freely redistribute the MCR if you have a license of the MATLAB Compiler.
HTH,
Arnaud
댓글 수: 8
Is the Matlab Complier available free to download from net?
If yes .. Pleaase do paste the link.
Since i tried before asking the previous question and it bore me the following result
And i am using Matlab 2009a
..
>> mcc -m vk1234
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2009a\sys\lcc
[0] None
Compiler: 1
Trying to update options file: C:\Documents and Settings\student\Application Data\MathWorks\MATLAB\R2009a\compopts.bat
From template: C:\PROGRA~1\MATLAB\R2009a\bin\win32\mbuildopts\lcccompp.bat
Done . . .
'cmd' is not recognized as an internal or external command,
operable program or batch file.
Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable (specify the -v option for more information).
??? Error using ==> mcc
Error executing mcc, return status = 1 (0x1).
The MATLAB compiler cannot be freely downloaded, except the trial version upon appropriate registration and cross-checking by the sales force. The MATLAB compiler is an optional extra-cost product.
Note for future reference: The MATLAB compiler cannot be used with any MATLAB Student Edition.
No, the MATLAB Compiler is not free, as Walter pointed out. For the error you're seeing, you may want to contact technical support. Also check out this bug report:
http://www.mathworks.com/support/bugreports/565891
Will i able to make an exe file if i get matlab 2009b version installed or any other higher version like 2010b etc of b category ?
Yes, the MATLAB Compiler has been in existence for quite a long time. There's MATLAB Compiler in R2010b, R2010a, R2009n, etc...
Thanks a lot
How can i use 'SendKey' code to send the symbol ' from Matlab to notepad
I've no idea what you're talking about. Please start a new question, as it appears to be completely unrelated.
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
태그
참고 항목
2011년 4월 7일
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
