Can not exit Matlab

176 visualizaciones (últimos 30 días)
Piotr Tomaszewski
Piotr Tomaszewski el 8 de Mayo de 2021
Comentada: Steven Lord el 19 de Mzo. de 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 comentario
John D'Errico
John D'Errico el 19 de Mzo. de 2024
Welcome to the Hotel California... ;) Sorry. Hotel MATLAB.

Iniciar sesión para comentar.

Respuestas (1)

Rishav
Rishav el 12 de Oct. de 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 comentarios
jaures
jaures el 19 de Mzo. de 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 el 19 de Mzo. de 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)

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by