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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 15 Feb. 2011

0 Stimmen

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

3 Kommentare

Kai
Kai am 15 Feb. 2011
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.
Kaustubha Govind
Kaustubha Govind am 16 Feb. 2011
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.
Kai
Kai am 19 Feb. 2011
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!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by