How to create debug (cmd) window for compiled GUI?

Hello,
I can complile my GUI in 2 ways:
1) via code:
mcc -m my_main_m-file_name
2) via Deploy Tool
deploytool
I understand that essentially it's more or less the same thing, but my preference is to use the Deploy Tool.
BUT,
I've noticed, that when created with
mcc
code, when I open my exe file, there is also a black cmd-like window which is being opened, where I can read error messages (as if I'm running the GUI from MATLAB).
Question is -
how can I force such "cmd-like-debug-window" to be openned also when I'm compling through Deploy Tool?
P.S - I'm using MATLAB 2017a
THANKS !

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!