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 件のコメント

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

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

 採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 2 月 15 日

0 投票

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

3 件のコメント

Kai
Kai 2011 年 2 月 15 日
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 2011 年 2 月 16 日
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 2011 年 2 月 19 日
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 で C Shared Library Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by