Matlab 2020b crashes everytime I close a figure manually
9 次查看(过去 30 天)
显示 更早的评论
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 个评论
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
2022-1-26
编辑:ruubef
2022-1-27
The app "Grammarly" also generates this issue. Disintalling Grammarly solves the problem.
5 个评论
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
2024-1-29
Thanks! It works for me too. Remember to uninstall all applications related to Grammarly.
James Huth
2024-1-3
I have the same problem with R2023b. Try to close scopes... crashes and I get spinning beach balls.
0 个评论
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 个评论
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
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.
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?
0 个评论
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).
0 个评论
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.
0 个评论
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!