Stand alone executable command prompt
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have MATLAB 7.9.529 (R2009B) running on a Windows XP system. I use deploytool to build a stand alone executable. The executable module consists on one GUI with various menu items and calculation buttons. When I package the executable, I include the MCRInstaller. I am able to successfully install the package on the target machine.
My question is: When I execute the install stand alone executable on the target machine, I Windows command prompt opens and remains open the entire time executable remains open. Why is this and how can I get rid of this? I have reviews several webnairs on this subject and none of the examples they use exhibit this behaivour?
Thanks,
Bryan
0 Commenti
Risposte (3)
Kaustubha Govind
il 14 Feb 2011
Build as "Windows Standalone Application"
2 Commenti
Kaustubha Govind
il 16 Feb 2011
No, you shouldn't have to set anything else. I'm surprised that this doesn't work. Does you application attempt to run anything from the system command prompt?
Matthew Whitaker
il 14 Feb 2011
On your mcc command you need to add the -e flag. Note you need to use a Microsoft compiler for this to work (like Visual Studio express)
See http://www.mathworks.com/support/compilers/R2010b/index.html for supported compilers
0 Commenti
Sanjeet kumar
il 26 Feb 2011
Hi All,
I have developed few Stand alone GUI in MATLAB which run fine on my machine( The machine on which i have developed the executable). But I am not able to run the same on any other machine. Even they have MATLAB or MCR installed in it.
Could you guys please help me on this? It will be very kind.
Thanks in advance.. Please mail be at san.ank9@gmail.com
Regards, Sanjeet Kumar Singh
2 Commenti
Kaustubha Govind
il 28 Feb 2011
Sanjeet: Please start a new question for this. Note that you only add an "answer" to an existing question if you are attempting to resolve it. See http://www.mathworks.com/matlabcentral/about/answers/ for best pratices.
Sanjeet kumar
il 3 Mar 2011
Thanks Govind. I have started a new question http://www.mathworks.com/matlabcentral/answers/2401-how-to-create-standalone-executable-which-can-run-on-other-machine-too Could you please check it out if you can help me on this
Thanks
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!