Stand alone executable command prompt

1 Ansicht (letzte 30 Tage)
Bryan Van Dyke
Bryan Van Dyke am 14 Feb. 2011
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

Antworten (3)

Kaustubha Govind
Kaustubha Govind am 14 Feb. 2011
Build as "Windows Standalone Application"
  2 Kommentare
Bryan Van Dyke
Bryan Van Dyke am 14 Feb. 2011
I do build it as a Windows Standalone Application. Is there some other environment I need to set?
thanks
Kaustubha Govind
Kaustubha Govind am 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?

Melden Sie sich an, um zu kommentieren.


Matthew Whitaker
Matthew Whitaker am 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

Sanjeet kumar
Sanjeet kumar am 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 Kommentare
Kaustubha Govind
Kaustubha Govind am 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
Sanjeet kumar am 3 Mär. 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu C Shared Library Integration finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by