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?

 Accepted Answer

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". 

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!