DOS window popup causing problems

3 visualizaciones (últimos 30 días)
Harvey Ogden
Harvey Ogden el 30 de Ag. de 2019
Respondida: Kritika Bansal el 7 de En. de 2020
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 comentarios
Guillaume
Guillaume el 30 de Ag. de 2019
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 el 30 de Ag. de 2019
If you're talking about a compiled application rather than in the MATLAB development environment, then use mcc with the -e option.

Iniciar sesión para comentar.

Respuestas (1)

Kritika Bansal
Kritika Bansal el 7 de En. de 2020
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.

Categorías

Más información sobre Debugging and Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by