Matlab not responding after imshow()

6 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by