quit doesn't close the program - process still running in task manager
Ältere Kommentare anzeigen
When I run the quit command in the command window or in a script, the application appears to close, but opening the Task Manager I find that there is still a process there taking up a large proportion of the CPU and memory named MATLAB.exe
It seems that it's still running in the background?
Akzeptierte Antwort
Weitere Antworten (3)
Daniel Shub
am 28 Sep. 2011
1 Stimme
I am not sure what happens with MATLAB and rmdir if it fails to remove the directory (for example because of file permissions) it may cause MATLAB to hang. Really though you haven't given us enough to know what it happening. It is just going to be a painful line-by-line quit in between debug.
1 Kommentar
James
am 29 Sep. 2011
Peter Barsznica
am 19 Jan. 2016
0 Stimmen
1 Kommentar
James
am 20 Jan. 2016
swathi anil
am 24 Mär. 2020
0 Stimmen
Hi James,
I was facing a similar problem, not being able to exit my matlab gui figures or even the matlab window at all.
Using
quit force
worked in this case. I would recommend going through the quit command variants in the following link, to pick the one that suits your scenario:
https://de.mathworks.com/help/matlab/ref/quit.html#d120e1010208
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!