Filter löschen
Filter löschen

Can not exit Matlab

82 Ansichten (letzte 30 Tage)
Piotr Tomaszewski
Piotr Tomaszewski am 8 Mai 2021
Kommentiert: Steven Lord am 19 Mär. 2024
Hi, I can not exit matlab 2021a no matter what I do. The x button in top right corner doesn't work, the close in file menu doesn't work and the exit command also doesn't work. The only way to close matlab is to kill it in task manager. For reference matlab still works when I try to close it it just doesnt want to be closed.
The problem doesn't occur when I open matlab and try to close it but whenever I open any project etc. when I try to close Matlab everything is getting closed except main window.
  1 Kommentar
John D'Errico
John D'Errico am 19 Mär. 2024
Welcome to the Hotel California... ;) Sorry. Hotel MATLAB.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Rishav
Rishav am 12 Okt. 2023
Hi Piotr,
I understand that you are trying to exit MATLAB R2021a by using the close button in the top right corner and you are unable to do so.
This is not an expected behavior, so you can try reinstalling MATLAB or checking if the issue only occurs when working on specific projects or files. If yes, then try recreating the project or opening those files one by one to see if you can identify any specific file causing the problem.
Thank you,
Rishav Saha
  2 Kommentare
jaures
jaures am 19 Mär. 2024
I have this same issue.
I installed Matlab 2011a 32 bits on a windows 11 computer and was not able to close it using the close button in the top right.
So I uninstaled 2011a 32 bits and installed 2011a 64bits and 2015b 64 bits.
2015b 64bits can close normally
2011a 64bits has the same issue as the 32 bits version. I cannoit close it using the close button in the top right.
The only way I can close it is by using the task manager.
Please, help.
Steven Lord
Steven Lord am 19 Mär. 2024
Let's check that you don't have a finish.m file that's preventing MATLAB from closing. It could be in the current directory for the two release R2011a installations, but that directory could not be the current directory or on the MATLAB search path for the installation of release R2015b. What does this command show?
which -all finish
'finish' not found.
If that doesn't reveal anything, make sure you haven't defined your own exit or quit functions.
which -all exit
built-in (/MATLAB/toolbox/matlab/general/exit) exit is a Java method % java.lang.System method
which -all quit
built-in (/MATLAB/toolbox/matlab/general/quit)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by