フィルターのクリア

Matlab Compiler

1 回表示 (過去 30 日間)
Ean Soo
Ean Soo 2011 年 3 月 29 日
Hie guys, i tried the deploytool to compile my GUI for standalone application. After i import my m-file into the main file, when i click build, an error occur. Written there,
"Run mbuild - setup from MATLAB prompt to specify the default compiler option file".
can i know how to solve this?
Regards,
EAN
  2 件のコメント
Jiro Doke
Jiro Doke 2011 年 3 月 29 日
Did you do what the error message said? Type
mbuild -setup
at the command line.
Jorgen Kongsro
Jorgen Kongsro 2013 年 2 月 20 日
Hi EAN,
What kind of operation system are you running on your computer? You need to set your defalt compiler in mbuild.
Here is a related subject in MATLAB central:
For Windows, this works very smoothly. For OS X and Linux, you need to set some library settings on your computer.

サインインしてコメントする。

回答 (2 件)

dinesh varma
dinesh varma 2012 年 8 月 22 日
Enter mbuild - script in command window
>> mbuild -setup Please choose your compiler for building standalone MATLAB applications:
Would you like mbuild to locate installed compilers [y]/n? n
Select a compiler: [1] Lcc-win32 C 2.4.1 [2] Microsoft Visual C++ 6.0 [3] Microsoft Visual C++ 2005 SP1 [4] Microsoft Visual C++ 2008 Express [5] Microsoft Visual C++ 2008 SP1
[0] None
Compiler: 1
Your machine has a Lcc-win32 C compiler located at C:\PROGRA~1\MATLAB\R2010a\sys\lcc. Do you want to use this compiler [y]/n? y
Please verify your choices:
Compiler: Lcc-win32 C 2.4.1 Location: C:\PROGRA~1\MATLAB\R2010a\sys\lcc
Are these correct [y]/n? y
Done . . .
After the above series of messages in command window now you can BUILD the attached MAIN file and the .EXE of the GUI will be at SRC or DISTRIB folder.
  1 件のコメント
Ahmed
Ahmed 2013 年 2 月 19 日
thx :)

サインインしてコメントする。


EVa Dai
EVa Dai 2013 年 6 月 27 日
Enter mbuild - script in command window
>>No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012b/win64.html what should I do? looking forward yours answer.
  1 件のコメント
Kaustubha Govind
Kaustubha Govind 2013 年 6 月 27 日
Eva: Please install a supported compiler, restart MATLAB and try again. The list of supported compilers is available at the link in the error message.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by