MATLAB freeze after closing figures

44 vues (au cours des 30 derniers jours)
RODOLFO
RODOLFO le 16 Mar 2024
Commenté : Peter Drummond le 3 Avr 2024 à 3:41
"Matlab works fine until I individually close the figures, then it tends to freeze. I've tried restarting the computer and uninstalling the application, but the result remains the same. I have a MacBook Pro with M1 Sonoma version 14.4.""I tried to solve it with some methods you offer, but I keep having the issue. Thank you."
  1 commentaire
Peter Drummond
Peter Drummond le 3 Avr 2024 à 3:41
Did you follow the instructions to install Java externally from Amazon with Mac Silicon? This problem may be related to the Java version that Mathworks provides. It has caused many problems in the past. Perhaps they can't provide the correct Java due to licensing issues. It seems kind of weird that Matlab no longer works correctly out of the box. Mathworks doesn't seem to be trying.

Connectez-vous pour commenter.

Réponses (2)

Walter Roberson
Walter Roberson le 16 Mar 2024
  1 commentaire
RODOLFO
RODOLFO le 17 Mar 2024
Hi, I'm trying to solve it even using the provided code string, but I'm not getting any result, in fact, it gets worse. I created the startup.m files, and now MATLAB opens but remains in an infinite loading state

Connectez-vous pour commenter.


Achilles Wong
Achilles Wong le 17 Mar 2024
This problem is most likely caused by the macOS 14.4 update. MATLAB was working fine on my arm Mac until random crashes occurred after the recent update to 14.4.
Simply put, the 14.4 update changes the behaviour of the kernel in handling just-in-time compilation and execution cycles without any prior explanation and preparation. This causes the Java process to terminate unexpectedly and affects all Java versions from Java 8 to the early access builds of JDK 22.
Applications that require JAVA runtime such as MATLAB and JetBrains products have encountered problems.
  3 commentaires
Achilles Wong
Achilles Wong le 17 Mar 2024
This problem comes from java and/or macOS, and there is currently no workaround, as written in the article:
"There is no workaround available, and since there is no easy way to revert a macOS update, affected users might be unable to return to a stable configuration unless they have a complete backup of their systems prior to the OS update."
Apple Silicon MATLAB relies on Amazon Corretto 8, which means that even if the upstream JAVA has released a new version, it will take a long time for Amazon Corretto 8 to be updated, not to mention that JAVA currently has not provided a timetable.
The quickest solution may be to wait for Apple to provide an update (they may or may not make an exception for JAVA, which could be soon, maybe in a few days or weeks or even longer?)
RODOLFO
RODOLFO le 20 Mar 2024
We hope for an update as soon as possible!!

Connectez-vous pour commenter.

Catégories

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

Tags

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by