How to create exe file in Matlab 2009a from .m file ??
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
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 件のコメント
yatin kharbe
2011 年 4 月 10 日
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).
Walter Roberson
2011 年 4 月 10 日
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.
Arnaud Miege
2011 年 4 月 11 日
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
yatin kharbe
2011 年 4 月 15 日
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 ?
Arnaud Miege
2011 年 4 月 15 日
Yes, the MATLAB Compiler has been in existence for quite a long time. There's MATLAB Compiler in R2010b, R2010a, R2009n, etc...
yatin kharbe
2011 年 4 月 15 日
Thanks a lot
yatin kharbe
2011 年 4 月 27 日
How can i use 'SendKey' code to send the symbol ' from Matlab to notepad
Arnaud Miege
2011 年 4 月 27 日
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!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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)
