How can you compile a GUI in Matlab using mcc?

1 vue (au cours des 30 derniers jours)
Jakob Havtorn
Jakob Havtorn le 8 Mai 2017
Commenté : Ritesh Chandna le 11 Mai 2017
I can successfully compile a GUI using the deploytool, but am interested in achieving the same using a call to the mcc ompiler. Is this possible?
Both
mcc('-m','simplegui','-o','Simplegui','-d',outfolder,'-a',srcfolder)
and
mcc('-e','simplegui','-o','Simplegui','-d',outfolder,'-a',srcfolder)
result in Simplegui.exe simply not doing anything when lauched.
  1 commentaire
Ritesh Chandna
Ritesh Chandna le 11 Mai 2017
When you created the executable using deploytool, PackagingLog.txt is generated by the compiler. Try to copy the entire mcc command and see if you are able to create the standalone executable using that.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Application Deployment dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by