Can not exit Matlab

176 ビュー (過去 30 日間)
Piotr Tomaszewski
Piotr Tomaszewski 2021 年 5 月 8 日
コメント済み: Steven Lord 2024 年 3 月 19 日
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 件のコメント
John D'Errico
John D'Errico 2024 年 3 月 19 日
Welcome to the Hotel California... ;) Sorry. Hotel MATLAB.

サインインしてコメントする。

回答 (1 件)

Rishav
Rishav 2023 年 10 月 12 日
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 件のコメント
jaures
jaures 2024 年 3 月 19 日
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 2024 年 3 月 19 日
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)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by