フィルターのクリア

Stand alone executable command prompt

3 ビュー (過去 30 日間)
Bryan Van Dyke
Bryan Van Dyke 2011 年 2 月 14 日
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

回答 (3 件)

Kaustubha Govind
Kaustubha Govind 2011 年 2 月 14 日
Build as "Windows Standalone Application"
  2 件のコメント
Bryan Van Dyke
Bryan Van Dyke 2011 年 2 月 14 日
I do build it as a Windows Standalone Application. Is there some other environment I need to set?
thanks
Kaustubha Govind
Kaustubha Govind 2011 年 2 月 16 日
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
Matthew Whitaker 2011 年 2 月 14 日
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 2011 年 2 月 26 日
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 件のコメント
Kaustubha Govind
Kaustubha Govind 2011 年 2 月 28 日
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 2011 年 3 月 3 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by