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 comentarios

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

Iniciar sesión para comentar.

 Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 15 de Feb. de 2011

0 votos

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

3 comentarios

Kai
Kai el 15 de Feb. de 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 el 16 de Feb. de 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 el 19 de Feb. de 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!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Preguntada:

Kai
el 15 de Feb. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by