Filter löschen
Filter löschen

Matlab not responding after imshow()

6 Ansichten (letzte 30 Tage)
Jack Beaumont
Jack Beaumont am 18 Jan. 2024
Bearbeitet: Jack Beaumont am 18 Jan. 2024
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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by