Matlab 2020b crashes everytime I close a figure manually

조회 수: 9 (최근 30일)
snj
snj 2020년 11월 13일
댓글: Xiang 2024년 1월 29일
On macbook pro, Matlab 2020b crashes (or rather hangs/becomes unresponsive) everytime I close a figure manually, i.e. click the red cross on the figure window. Close all works fine though.
Sune
  댓글 수: 7
Igor Gitelman
Igor Gitelman 2022년 5월 25일
On macOS 12.2.1, Matlab R2022a. Block Gramerly for matlab do the job.
Shaima Guediri
Shaima Guediri 2022년 7월 20일
let me share with you a simple solution that I found and it solved this issues , I read some solution from this link:https://www.mathworks.com/matlabcentral/answers/866895-matlab-is-very-slow-on-macos-big-sure
and found this one by Fenglong Song, so all you have to do is goto -> General -> Source control and select 'None'.
and that solved my problem with matlab freezing each time I close a plot

댓글을 달려면 로그인하십시오.

답변 (9개)

ruubef
ruubef 2022년 1월 26일
편집: ruubef 2022년 1월 27일
The app "Grammarly" also generates this issue. Disintalling Grammarly solves the problem.
  댓글 수: 5
MIHIR GAGLANI
MIHIR GAGLANI 2022년 5월 10일
Same here grammarly causing the Matlab to fail either furing uigetdir or while closing a figure. Thanks a lot for your solution.
Xiang
Xiang 2024년 1월 29일
Thanks! It works for me too. Remember to uninstall all applications related to Grammarly.

댓글을 달려면 로그인하십시오.


James Huth
James Huth 2024년 1월 3일
I have the same problem with R2023b. Try to close scopes... crashes and I get spinning beach balls.

Walter Roberson
Walter Roberson 2020년 11월 13일
That can happen if you have a ClosereqFcn callback that does not return.
To examine this, check
fig = gcf;
disp(get(fig, 'CloseRequestFcn'))
disp(get(groot,'DefaultFigureCloseRequestFcn'))
Normal is to see closereq for both of those, and for
>> which closereq
/Applications/MATLAB_R2020b.app/toolbox/matlab/graphics/closereq.m
  댓글 수: 2
snj
snj 2020년 11월 16일
Thanks for your answer. I get 2 x closereq, and /Applications/MATLAB_R2020b.app/toolbox/matlab/graphics/closereq.m
Bo Liu
Bo Liu 2022년 8월 15일
Thanks for the ansewr! This is also the issue for me. But how can I resolve this problem?

댓글을 달려면 로그인하십시오.


Ameer Hamza
Ameer Hamza 2020년 11월 13일
I also saw this problem recently on macOS. This problem is caused by how MATLAB respond to accessibility API. Read the answer here: https://www.mathworks.com/matlabcentral/answers/480796-not-responding-on-startup-macos-mojave. One of the other apps on your macOS is causing this problem (apparently not their fault, rather how MATLAB responds to those apps). The only workaround is to disable the accessibility API for that app. You need to do trial and error to find out which app is causing the issue.
  댓글 수: 1
snj
snj 2020년 11월 16일
Thanks for your answer. This could be the case, I will check and get back with outcome.

댓글을 달려면 로그인하십시오.


Wayne Martin
Wayne Martin 2021년 3월 14일
I have this problem on Windows. When I look at the status of the Matlab program, it is waiting on network io. It always clears itself in anthing from a few seconds to a few minutes, as though something responds or times out. Dont' know what it's waiting for?

Abhishek Shah
Abhishek Shah 2024년 1월 18일
I have the same problem also with R2023b. Whenver I try to close the figures manually with the red x on the top left corner, it crashes (application does not respond while I get the spinning beach ball).

tetonedge
tetonedge 2021년 1월 29일
It is usually Magnet or something similar
  댓글 수: 2
snj
snj 2021년 1월 29일
I don’t have Magnet or any other window manager
Vincent Beaulieu
Vincent Beaulieu 2022년 6월 13일
Moom Many Tricks may as well cause issues.

댓글을 달려면 로그인하십시오.


FEDERICO
FEDERICO 2024년 1월 4일
Same problem here while using PLS Toolbox, every time i close a figure i get the spinning beach ball, I tried reinstalling everything but nothing has changed. MBP 14 M1 Pro with Sonoma 14.2.1 and Matlab 2023b.

Athar Ali
Athar Ali 2022년 8월 28일
I experience same issue on MAC book Pro. Matlab 2020b and Matlab 2022a. While editing the figure or scope image.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by