Clear Filters
Clear Filters

Matlab not responding after imshow()

6 views (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 18 Jan 2024
The problem is in the closing of the figure. The problem happens on MacOS Sonoma
  1 Comment
Jack Beaumont
Jack Beaumont on 18 Jan 2024
Edited: Jack Beaumont on 18 Jan 2024
Fixed by adding the following to my startup.m file
set(groot, 'defaultFigureCloseRequestFcn', 'close(gcf)');
warning off MATLAB:Figure:RecursionOnClose;

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!