Standalone console windows in Windows 7 64bit

Hello,
I created a Standalone Application in Windows 7 (64bit) using the deploytool and Microsoft Visual C++ 2008-Compiler. When running the compiled file, the console window doesn't appear which I need for error warnings. This worked very well under Win XP and the LCC-Compiler. Thanks for your answers in advance!

2 个评论

People are mostly having the opposite problem!
Which version of Matlab did you use?
I know and already found a lot of answers how to disable the console. I'm using R2010a.

请先登录,再进行评论。

 采纳的回答

Did you compile as a "Windows Standalone Application" instead of "Standalone Application"?

3 个评论

Yes, I compiled as Windows Standalone Application. Only "Standalone Application" I couldn't found. The problem is that I'm using a GUI and additionally the console window. When I only compiled as "Console Application" I get an error right at the start and my program didn't work. By the way I'm using R2010a.
Yes, "Console Application" is what you need. It is unlikely that building as console application causes any additional issues - the same error probably occurs in the Windows Standalone as well. I would recommend compiling with the -R -logfile options for windows standalone to check if the same errors occur.
Thanks for your help! I tried it again and it was my fault that it didn't work the first time using the "console application". I just forgot to copy a mat-File which is automatically loaded at start. Unfortunately the error message in the console window immediately disappeared and I thought about an error using the "console application". Thanks again!

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by