필터 지우기
필터 지우기

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 CenterFile Exchange에서 Get 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