DOS window popup causing problems
1 回表示 (過去 30 日間)
古いコメントを表示
I am developing a GUI application in Matlab R2018b. This C:\Windows\system32\cmd.exe window pops up and won't go away. It is causing problems. What causes it to pop up and how do you get rid of it?
2 件のコメント
Guillaume
2019 年 8 月 30 日
Most likely, you've put some code somewhere that invokes a command window. We certainly can't say without seeing your code.
Image Analyst
2019 年 8 月 30 日
If you're talking about a compiled application rather than in the MATLAB development environment, then use mcc with the -e option.
回答 (1 件)
Kritika Bansal
2020 年 1 月 7 日
Hi,
One of the probably reasons for the cmd.exe window to pop up is you are using
!
somewhere in your code.
If this is not the case, you can see which statement in your code is causing the window to pop-up by adding the breakpoints to it and using Step/ Step-in/ Step-out buttons available in the debugger.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!