Azzera filtri
Azzera filtri

Matlab not responding after imshow()

6 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by