MATLAB freeze after closing figures

43 次查看(过去 30 天)
RODOLFO
RODOLFO 2024-3-16
评论: Peter Drummond 2024-4-3,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 个评论
Peter Drummond
Peter Drummond 2024-4-3,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.

请先登录,再进行评论。

回答(2 个)

Walter Roberson
Walter Roberson 2024-3-16
  1 个评论
RODOLFO
RODOLFO 2024-3-17
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

请先登录,再进行评论。


Achilles Wong
Achilles Wong 2024-3-17
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 个评论
Achilles Wong
Achilles Wong 2024-3-17
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 2024-3-20
We hope for an update as soon as possible!!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by