MATLAB freeze after closing figures
조회 수: 68 (최근 30일)
이전 댓글 표시
"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
2024년 4월 3일
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개)
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.
Please refer to this article for details: Java users on macOS 14 running on Apple silicon systems should consider delaying the macOS 14.4 update
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
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?)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!