DOS window popup causing problems

조회 수: 3 (최근 30일)
Harvey Ogden
Harvey Ogden 2019년 8월 30일
답변: Kritika Bansal 2020년 1월 7일
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
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
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
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.

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by