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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de En. de 2024

0 votos

The problem is in the closing of the figure. The problem happens on MacOS Sonoma

1 comentario

Jack Beaumont
Jack Beaumont el 18 de En. de 2024
Editada: Jack Beaumont el 18 de En. de 2024
Fixed by adding the following to my startup.m file
set(groot, 'defaultFigureCloseRequestFcn', 'close(gcf)');
warning off MATLAB:Figure:RecursionOnClose;

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2023b

Preguntada:

el 18 de En. de 2024

Editada:

el 18 de En. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by