Why does the MATLAB Compiler hang in "Creating Binaries"?

I am attempting to compile my code into a standalone application with the MATLAB Compiler. However, it hangs on "Creating Binaries" and never finishes. 
How can I resolve this issue?

 採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 4 月 16 日
編集済み: MathWorks Support Team 2025 年 4 月 25 日

0 投票

The issue could be due to the "startup.m" file. The "startup.m" is executed at the beginning of the compilation process. If the code in "startup.m" hangs, then the compilation will also become unresponsive.
Please check that commands that wait for user input are not included in "startup.m". 

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

製品

リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by