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 Comments

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.

Sign in to comment.

 Accepted Answer

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

3 Comments

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!

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!