How to run a GUI as an application
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all, i have a GUI which does some instructions for a university project, i should give a lot of files and .m functions to my professor, and i would like at least to "pack" the execution in a single icon or file, which starts the GUI. What can i do? I saw the deploytool which should create an exe, but because i must compile a mex file in one of the instructions (which at the beginning is an empty file and will be compiled later), the deploy tool gives an error and doesn't create the exe; so i think i should go for another solution. I also can't create the batch file, because it will run on a different PC with different directories. Thanks in advance for help!
0 commentaires
Réponses (1)
Image Analyst
le 2 Avr 2016
I use a third party installer because deploytool does not let you specify where files go. If you don't want to do that, then just give him the mex file, already compiled, as a separate file and tell him where to put it.
5 commentaires
Image Analyst
le 2 Avr 2016
I just can't understand why your mex file is not able to handle input parameters and needs to be recompiled. It should be able to handle different parameters without being recompiled. Please explain why it needs recompilation. I know you need to recompile since the File Exchange doesn't permit mex files to be uploaded, but once you've done that, you can ship the compiled mex file to your professor and your professor should not have to recompile it again. Or call the compiler help line at the Mathworks.
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!