フィルターのクリア

How to have a compiled matlab GUI open a command-like window?

10 ビュー (過去 30 日間)
Scott Musser
Scott Musser 2023 年 11 月 20 日
コメント済み: Scott Musser 2023 年 11 月 21 日
We have a older Matlab 2008b compiled / deployable GUI app, and when it opens, it first opens a window akin to a DOS command window, and it seems to show Matlab output that would appear to contain content that Matlab puts out to it's command window, land subsequently the GUI launches and both windows remain open. I'm able to recompile and run the app (still using Matlab 2008b--there are dependencies on that version) but when the app I build launches, I get the GUI window but not the command window.
I'm hoping that command window would give me some deubgging insight. I've scoured the Deployment Project Settings and can't find where to turn that command window on (or off). Example below. Any guidance or help on this?

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 11 月 20 日
If you are not getting the DOS window then somehow you must have provided the -e option
Read the following in reverse:
  7 件のコメント
Walter Roberson
Walter Roberson 2023 年 11 月 21 日
Thanks for the log extract, @Scott Musser
The only suspicious things I see there is that some of the file names were not properly quoted, in particular
-IC:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include -M -IC:\Program Files (x86)\Microsoft Visual Studio 8\VC\include
but if it was not parsing those somehow then you would have received several error messages, so it seems to be working out anyways.
Unfortunately I have barely worked with that toolchain so I don't think I have any further ideas at this time.
Scott Musser
Scott Musser 2023 年 11 月 21 日
Hey, thanks for the feedback. At least I know I'm not missing something really easy and stupid on my part.

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

カテゴリ

Help Center および File ExchangeGet Started with MATLAB Compiler SDK についてさらに検索

製品


リリース

R2008b

Community Treasure Hunt

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

Start Hunting!

Translated by