Filter löschen
Filter löschen

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

10 Ansichten (letzte 30 Tage)
Scott Musser
Scott Musser am 20 Nov. 2023
Kommentiert: Scott Musser am 21 Nov. 2023
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?

Antworten (1)

Walter Roberson
Walter Roberson am 20 Nov. 2023
If you are not getting the DOS window then somehow you must have provided the -e option
Read the following in reverse:
  7 Kommentare
Walter Roberson
Walter Roberson am 21 Nov. 2023
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 am 21 Nov. 2023
Hey, thanks for the feedback. At least I know I'm not missing something really easy and stupid on my part.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Produkte


Version

R2008b

Community Treasure Hunt

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

Start Hunting!

Translated by