After using imshow() and closing the image, my matlab instance stops responding, and I need to force quit.
Tried rebooting my computer, and reinstalling matlab.
Running R2023b on a 2,4 GHz Quad-Core Intel Core i5 with macOS Sonoma 14.2.1.

 채택된 답변

Walter Roberson
Walter Roberson 2024년 1월 18일

0 개 추천

The problem is in the closing of the figure. The problem happens on MacOS Sonoma

댓글 수: 1

Jack Beaumont
Jack Beaumont 2024년 1월 18일
편집: Jack Beaumont 2024년 1월 18일
Fixed by adding the following to my startup.m file
set(groot, 'defaultFigureCloseRequestFcn', 'close(gcf)');
warning off MATLAB:Figure:RecursionOnClose;

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2023b

질문:

2024년 1월 18일

편집:

2024년 1월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by