Why does the MATLAB Compiler hang in "Creating Binaries"?
9 views (last 30 days)
Show older comments
MathWorks Support Team
on 8 Mar 2018
Edited: MathWorks Support Team
on 25 Apr 2025
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
MathWorks Support Team
on 16 Apr 2025
Edited: MathWorks Support Team
on 25 Apr 2025
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 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!