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?

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 16 Avr 2025
Modifié(e) : MathWorks Support Team le 25 Avr 2025

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Produits

Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by