Why does MATLAB Compiler hang in "Creating Binaries"?

17 views (last 30 days)
I try to compile my code into a standalone application with the Application Compiler. It hangs on "Creating Binaries" and never finishes. I have tried "mcc" but it also hangs.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Apr 2018
Edited: MathWorks Support Team on 17 Apr 2018
The issue here seems to be with the "startup.m" file. "startup.m" is executed at the beginning of the compilation process. If the code in "startup.m" hangs, then the compilation will also hang.
Please check that commands that wait for user input are not included in "startup.m".

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!