フィルターのクリア

Application Compiler crashes when selecting main file on Windows 10 R2017a

5 ビュー (過去 30 日間)
Michael L
Michael L 2017 年 7 月 19 日
コメント済み: rob 2018 年 2 月 18 日
Hi,
I'm trying to compile my AppDesigner (.mlapp) into a stand alone program using applicationCompiler.
When opening applicationControler, everything looks fine. Then I go to "Add main file" and press the + button. I select my .mlapp file (I can also select any m file with the same result). MATLAB Compiler window (and main MATLAB) will hang, and be unresponsive to all inputs/commands. The only way is to force quit (Through Task Manager - End Task) and restart MATLAB. I'm not getting any error messages or other signs, so I have no idea what is wrong.
Some more information: I've successfully been able to compile and distribute the app on Mac. Now, I am attempting to do it in Windows. I have R2017a installed on Windows 10. I have Microsoft Windows SDK for Windows 7 (7.1) installed after following some of the other StackOverflow and MATLAB forums.
  1 件のコメント
rob
rob 2018 年 2 月 18 日
I'm having the exact same issue. The command line approach works fairly ok but I was wondering if someone solved the issue of the deploytool.
Thank you in advance, Rob

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

採用された回答

Harsh
Harsh 2017 年 7 月 21 日
One of the things you can try is to compile the application directly from the MATLAB command window rather than using the deploytool. The command would look similar to the following:
mcc -o app1 -W WinMain:app1 -T link:exe -d C:\Users\userName\Downloads\mlapp\for_testing -v C:\Users\UserName\Downloads\app1.mlapp -r 'C:\Program Files\MATLAB\R2017a\toolbox\compiler\Resources\default_icon.ico'
As a reference for the exact command, you can also take a look at the packaging log that was generated for the Mac App.
More details on the mcc options can be found here .
However, if the issue persists, please contact MathWorks Technical Support here: https://www.mathworks.com/support/contact_us/
Please be sure to provide a detailed description of the issue and attach any relevant files / code / examples required to investigate the issue.
  1 件のコメント
Michael L
Michael L 2017 年 8 月 3 日
Thanks! Command line worked. Not sure why the interface isn't working. This one did the trick for me!
mcc -o CompiledName -m -v AppName.mlapp

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by