Effacer les filtres
Effacer les filtres

Matlab not responding after imshow()

6 vues (au cours des 30 derniers jours)
Jack Beaumont
Jack Beaumont le 18 Jan 2024
Modifié(e) : Jack Beaumont le 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.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by