How can you compile a GUI in Matlab using mcc?

17 ビュー (過去 30 日間)
Jakob Havtorn
Jakob Havtorn 2017 年 5 月 8 日
コメント済み: Ritesh Chandna 2017 年 5 月 11 日
I can successfully compile a GUI using the deploytool, but am interested in achieving the same using a call to the mcc ompiler. Is this possible?
Both
mcc('-m','simplegui','-o','Simplegui','-d',outfolder,'-a',srcfolder)
and
mcc('-e','simplegui','-o','Simplegui','-d',outfolder,'-a',srcfolder)
result in Simplegui.exe simply not doing anything when lauched.
  1 件のコメント
Ritesh Chandna
Ritesh Chandna 2017 年 5 月 11 日
When you created the executable using deploytool, PackagingLog.txt is generated by the compiler. Try to copy the entire mcc command and see if you are able to create the standalone executable using that.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeApplication Deployment についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by