Matlab 2023b crash when I close a plot

조회 수: 111 (최근 30일)
Marco
Marco 2023년 11월 25일
댓글: Siyuan 2024년 5월 21일
On macbook pro M1 whit the new MacOS Sonoma, Matlab 2023b 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.
  댓글 수: 5
Zoe Hughes
Zoe Hughes 2024년 3월 8일
Same issue. Please fix.
the cyclist
the cyclist 2024년 3월 9일
편집: the cyclist 2024년 3월 9일
This thread is the more complete discussion of this issue.
MacOS update 14.3.1 resolved this issue for many folks.

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

답변 (3개)

the cyclist
the cyclist 2023년 11월 25일
편집: the cyclist 2023년 11월 25일
Known issue (among some others with Sonoma). See this thread.
I have had success closing figures "manually" if I put the focus on a different window first, before closing.
  댓글 수: 2
Ruben Almeida
Ruben Almeida 2024년 2월 22일
This is the only thing that works for me.
the cyclist
the cyclist 2024년 2월 22일
In the thread I mentioned, it has been noted that the most recent Sonoma update seems to have resolved this bug.

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


Thomas
Thomas 2024년 2월 14일
I Tried using command+W and it seems to fix the problem
  댓글 수: 1
Siyuan
Siyuan 2024년 5월 21일
thanks Thomas, it works on my mac GOAT

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


Binod
Binod 2023년 12월 18일
편집: Walter Roberson 2023년 12월 18일
One silly technique that I applied on "MacOS_M1_13"_sonoma14.2
% Specify the folder to save all the figures in your desired format(s) and use later
saveFolder = '/Users/practice/mode folder/figures';
% Create the folder if it doesn't exist
if ~exist(saveFolder, 'dir')
mkdir(saveFolder);
end
% Save all open figures in the specified formats
figHandles = findobj('Type', 'figure');
for i = 1:numel(figHandles)
% Save as JPG
saveas(figHandles(i), fullfile(saveFolder, ['figure_', num2str(i), '.jpg']));
% Save as FIG
saveas(figHandles(i), fullfile(saveFolder, ['figure_', num2str(i), '.fig']));
% Save as PNG
saveas(figHandles(i), fullfile(saveFolder, ['figure_', num2str(i), '.png']));
end
close all %if you are able to generate figs. already
  댓글 수: 2
Peter Drummond
Peter Drummond 2024년 2월 11일
편집: Peter Drummond 2024년 2월 11일
This is surely just plain ridiculous. Mathworks has known of this problem for years. Actually, it is pretty serious, with all work arounds causing many additional problems. For example, you can't, in my experience use 'close all' in a program, which I do use, without triggering the spinning circle of death.
Apparently it is a Java problem, but Matlab requires an obsolete Java to run. They don't seem concerned that they market a very expensive professional program which repeatedly crashes. If it was a 737, perhaps they would fix it? Oh, I forgot, Boeing did the same exact thing!
Is this a US problem with executives? You know, it costs money to fix things, so lets not bother, it might impact my bonus?
Larry Godwin
Larry Godwin 2024년 2월 27일
Exactly my point

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

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by