Matlab Crash on Sonoma(macOS 14.0)

1,378 views (last 30 days)
Matlab2023b works fine on my computer with macOS 13.6. I find that the matlab 2023b is supported on Sonoma, so I update the system to it. However, after the update matlab crashs each time I launch it. And I find similar report on stack overflow.
The crash report:
--------------------------------------------------------------------------------
Segmentation violation detected at 2023-10-02 08:03:40 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Uninitialized hardware
Java Version : Java 1.8.0_382-b05 with Amazon.com Inc. OpenJDK 64-Bit Server VM mixed mode
MATLAB Architecture : maca64
MATLAB Entitlement ID : [FILTERED]
MATLAB Root : /Applications/MATLAB_R2023b.app
MATLAB Version : 23.2.0.2365128 (R2023b)
OpenGL : hardware
Operating System : Mac OS 版本14.0(版号23A344)
Process ID : 5522
Processor ID : ABI64 ARM ARM64E FIRESTORM_ICESTORM HG
Session Key : [FILTERED]
Window System : Quartz
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: '' id 0x294e2b000
Register State (from fault):
X0 = 0000000000000012 X1 = 0000000000000000
X2 = 0000000000000001 X3 = 0000000000000000
X4 = 00000001d9ae8630 X5 = 0000000000000000
X6 = 0000000000000000 X7 = 0000000000000403
X8 = 1194967f20a30012 X9 = 0000000000000000
X10 = 0000000000000001 X11 = 0000000000000000
X12 = 0000000010800000 X13 = 0000000000000001
X14 = 0000000000000000 X15 = 0000000084004000
X16 = 0000000182884e00 X17 = 0000000237fd36d0
X18 = 0000000000000000 X19 = 0000000236d00a60
X20 = 0000000000000000 X21 = 0000000000000000
X22 = 0000000294e2a670 X23 = 000000000000001a
X24 = 0000000000000000 X25 = 0000000000000000
X26 = 0000000294e290e0 X27 = 0000000000000000
X28 = 0000600065e36520
FP = 0000000294e27ae0 LR = 5154800182884e38
SP = 0000000294e27ae0 PC = 00000001829cd6f0
CPSR = 60001000
Stack Trace (from fault):
[ 0] 0x0000000104904d90 /Applications/MATLAB_R2023b.app/bin/maca64/libmwfl.dylib+00019856 _ZN10foundation4core4diag15stacktrace_base7captureERKNS1_14thread_contextEm+00000064
[ 1] 0x0000000104907c58 /Applications/MATLAB_R2023b.app/bin/maca64/libmwfl.dylib+00031832 _ZN10foundation4core4test17terminate_handledERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE+00002144
[ 2] 0x0000000104907118 /Applications/MATLAB_R2023b.app/bin/maca64/libmwfl.dylib+00028952 _ZN10foundation4core4diag13terminate_logEPKcPK17__darwin_ucontext+00000140
[ 3] 0x000000010b0653b0 /Applications/MATLAB_R2023b.app/bin/maca64/libmwmcr.dylib+00529328 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00011892
[ 4] 0x000000010b063250 /Applications/MATLAB_R2023b.app/bin/maca64/libmwmcr.dylib+00520784 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00003348
[ 5] 0x000000010b060cf0 /Applications/MATLAB_R2023b.app/bin/maca64/libmwmcr.dylib+00511216 mnFatalSignalHandler+00000140
[ 6] 0x000000018284da24 /usr/lib/system/libsystem_platform.dylib+00014884 _sigtramp+00000056
[ 7] 0x0000000182884e38 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00028216 CFDictionaryGetValue+00000056
[ 8] 0x0000000182884e38 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00028216 CFDictionaryGetValue+00000056
[ 9] 0x0000000204c93578 /System/Library/PrivateFrameworks/IO80211.framework/Versions/A/IO80211+00017784 Apple80211Scan+00000584
[ 10] 0x00000001361d5994 /Applications/MATLAB_R2023b.app/bin/maca64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01923476 FqTtUQGnylG+00000356
[ 11] 0x00000001361d5da4 /Applications/MATLAB_R2023b.app/bin/maca64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01924516 AjEdeqBE+00000564
[ 12] 0x00000001361e4e00 /Applications/MATLAB_R2023b.app/bin/maca64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01986048 GxnmPknfylG+00000176
[ 13] 0x00000001361e42cc /Applications/MATLAB_R2023b.app/bin/maca64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01983180 OexMpdMAylG+00000332
[ 14] 0x00000001361e4628 /Applications/MATLAB_R2023b.app/bin/maca64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01984040 tQpdOundylG+00000052
[ 15] 0x000000018281f034 /usr/lib/system/libsystem_pthread.dylib+00028724 _pthread_start+00000136
[ 16] 0x0000000182819e3c /usr/lib/system/libsystem_pthread.dylib+00007740 thread_start+00000008
PS: when I run matlab on terminal, there are two warnings as:
CodeCache is full. Compiler has been disabled.
Try increasing the code cache size using -XX:ReservedCodeCacheSize=
objc[16042]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x2325b2888) and /Applications/MATLAB_R2023b.app/bin/maca64/Frameworks/Chromium Embedded Framework.framework/Libraries/libGLESv2.dylib (0x10bc41e70).
One of the two will be used. Which one is undefined.
  55 Comments
Alexandre
Alexandre on 13 Mar 2024
I have Sonoma 14.4 and matlab crash after a few minutes with the same error.
Alessandro
Alessandro on 27 Mar 2024
Hi
Sonoma 14.4.1 here, R2023b crashes at "close all"
Very frustrating!
A

Sign in to comment.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Oct 2023
Edited: MathWorks Support Team on 4 Dec 2023
Thank you all for reporting this issue. MathWorks is aware of this issue and several others related to macOS Sonoma. We are actively investigating each of them.
Please refer to this additional support article for more details on the following known issues and support for macOS Sonoma: https://www.mathworks.com/matlabcentral/answers/2044833-is-matlab-compatible-with-macos-sonoma
1. MATLAB crashes when using an Individual or Designated Computer license
Due to a bug, MATLAB crashes after a minute or two. For more information, see this article.
2. MATLAB crashes when using Oracle Java on Apple Silicon
When launching the Apple Silicon version of MATLAB, MATLAB defaults to a previously installed Oracle Java and crashes. For instructions on how to point MATLAB to Amazon Corretto 8, see this article.
3. The Intel version of MATLAB crashes when generating a C++ MEX file.
This crash occurs after MEX is invoked. For more information and a workaround, see this this article.
4. Chinese characters in MATLAB UI
When the Chinese language is present as a secondary language on the machine, portions of the MATLAB UI display Chinese characters even when preferred locale is set to English. For more information, see this article.
If you are experiencing a different issue than those described, please Contact MathWorks Support.
  18 Comments
Walter Roberson
Walter Roberson on 9 Dec 2023
A Mac Pro Tower with display cost 17200 USD
Apple Pro Display XDR (32 inch, 6K resolution): $US5000
Apple Mac Pro Tower: base price $US7800
So you are doing 17200 - 5000 - 7800 = 4400 worth of upgrades to the model. To get there you have to go for the 76 core GPU (M2 Ultra) upgrade (instead of regular 60 core GPU), 192 GB of unified memory, 8 TB of storage, and add the upgrade to have wheels on the frame.
In other words, to get to that price, you have to choose the most expensive version of everything that Apple offers on that device (but supply your own keyboard.)
Note that the Mac Pro is a standard commercial computer while your list has special gaming computers
Be honest: a Mac Pro with those specifications is custom-built, and effectively is a gaming computer.
And since the display is independent of the computer, merely offered by the same manufacturer, you cannot reasonably include it in saying that the computer is the most expensive. The Mac Pro is not even marketted as a PC: it is a workstation.
For the same specifications that added up to $US12200 above, you can get the Mac Studio for $US8800. The difference, according to tech journalists, is that the Mac Pro has several PCIe expansion slots, and that the SSD in the Mac Pro can in theory be upgraded. And, of course, that you cannot get the wheels for the Mac Studio.
Walter Roberson
Walter Roberson on 9 Dec 2023
You can put together Dell towers with much higher prices. For example about $US11500 for a graphics card upgrade on a Dell 7920 Tower.

Sign in to comment.

More Answers (18)

Ahmed Harbi
Ahmed Harbi on 29 Oct 2023
Hello, the issue is not with the JAVA JDK, it's with the XCode version 15.0 with macOS Sonoma.
You can find in apple silicon requirements MATLAB is supported with XCode 14.0 with macOS Ventura. https://www.mathworks.com/support/requirements/apple-silicon.html
From the call stack the system is calling dylib files from /usr/lib/system "libsystem_platform, and libsystem_pthread". which are not comaptiable with the requirements for MATLAB.
Nothing can be done for now, either MATLAB get an update for XCode 15, and macOS Sonoma. Or you can downgrade your macOS version.
  7 Comments
Jinbo Zhang
Jinbo Zhang on 2 Nov 2023
Edited: Jinbo Zhang on 2 Nov 2023
In that page, seem Xcode only related to compilers. Why it will have influence on gui usage? I compile spm c code, it is working just fine with Xcode 15. Besides, call stack report here is not a typical bug faced in Sonoma. Most of the bug reported in these coments is about matlab hangs when press X to a simple figure. And if you just open matlab in terminal with -nodesktop option, it can be solve temporally, Seem jdk should be part of the source of this bug. Interestingly, on one of my mac air which never install matlab, I fresh install matlab on it, it work smoothly.... no hang, no crash, just weird...
David
David on 6 Feb 2024
Edited: David on 6 Feb 2024
It's intriguing how different environments can impact software behavior. While Xcode's influence on GUI usage might not be immediately apparent, its role in handling compilers could indirectly affect performance. It's worth exploring potential interactions with JDK and other dependencies to troubleshoot issues like MATLAB hangs which seem to vary across setups.

Sign in to comment.


geofo
geofo on 24 Jan 2024
Edited: the cyclist on 24 Jan 2024
Apple released today (24 Jan 2024) a new vesion of Sonoma (14.3) and with this new version I can close plots in Matlab without problems. I tested this on 4 Mac computers, all work.
  2 Comments
the cyclist
the cyclist on 24 Jan 2024
In limited testing, this Sonoma update has fixed the problem for me, too. Fingers crossed!
Zhenhao Zhou
Zhenhao Zhou on 24 Jan 2024
Same here! 14.3 solved all the figure-related issues!

Sign in to comment.


Alfarizy
Alfarizy on 25 Oct 2023
I think i figured it out how to fix this problem. It seems like there is a crashed happen on the java. It can be because you have multiple JDK/JRE installed on your mac.
What I did to fix this, I uninstalled all of my JDK/JRE according to this following instruction https://www.java.com/en/download/help/mac_uninstall_java.html and also do the following after you did the instruction on the link I provided.
Uninstalling the JDK on macOS
To uninstall the JDK on macOS, you must have Administrator privileges.
Note: Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time that you perform an update of the OS.
  1. Go to /Library/Java/JavaVirtualMachines.
  2. Remove the directory where the JDK is installed by running the rm command as a root user or by using the sudo tool:$ rm -rf jdk-1.8.jdk
After you have done both two steps above, restart your mac, and download then install Amazon Corretto 8 from Matlab website. Restart your mac, and open your MATLAB_R2023B
  11 Comments
Pengyu Chen
Pengyu Chen on 28 Oct 2023
@Aceson The default path is
/Applications/MATLAB_R2023b.app
Aceson
Aceson on 28 Oct 2023
@Pengyu Chen Oh I meant <matlabroot>/bin/matlab_jenv this path. Where do I find this matlab_jenv

Sign in to comment.


Jinbo Zhang
Jinbo Zhang on 28 Oct 2023
Seem reinstall or reset Open-JRE have not solve all problem. Matlab also hang up, when ploting, editing, add external display, open gui or appdesign in SOMETIME, hard to predict. Both of my mac mini, mac air, and mac studio is in such condition. Maybe it is not a right time to use MATLAB2023b with Sonoma. This is a prerelease state not release state!

Matteo Savoia
Matteo Savoia on 1 Nov 2023
Both R2023a and R2023b crash on my Intel MacBook Pro (late 2009) with Sonoma. With previous macOS version it worked fine.
I have also installed Amazon Corretto 8 but nothing changed.
I do not think it is related to the processors architecture (since I am on an Intel i9 and have the same issue).
I have to stick with the Windows 11 version for the time being..
  3 Comments
john
john on 6 Nov 2023
@Weizhe Chen Unfortunately no. Let's hope Update 4 or Matlab 2024a fixes the issue.
Kristofer
Kristofer on 6 Nov 2023
I was able to get it work on my M2 Macbook Pro on Sonoma by uninstalling the Oracle JRE and then installing Amazon Coretto 8

Sign in to comment.


Hans Scharler
Hans Scharler on 4 Dec 2023
MathWorks is currently aware of the following issues when running MATLAB on macOS Sonoma:
1. MATLAB crashes when using an Individual or Designated Computer license
Due to a bug, MATLAB crashes after a minute or two. For more information, see this article.
2. MATLAB crashes when using Oracle Java on Apple Silicon
When launching the Apple Silicon version of MATLAB, MATLAB defaults to a previously installed Oracle Java and crashes. For instructions on how to point MATLAB to Amazon Corretto 8, see this article.
3. The Intel version of MATLAB crashes when generating a C++ MEX file.
This crash occurs after MEX is invoked. For more information and a workaround, see this this article.
4. Chinese characters in MATLAB UI
When the Chinese language is present as a secondary language on the machine, portions of the MATLAB UI display Chinese characters even when preferred locale is set to English. For more information, see this article.
  3 Comments
David Fedida
David Fedida on 13 Dec 2023
MATLAB crashes after a few program runs for me 2023a or 2023b using OS Sonoma, it was fine using Big Sur. I have an Intel I7 MacPro 2019. Interestingly, it only crashes if I try and close a figure that the program plots. It will close one or two plots and the next time it locks up. So, I can use MATLAB if I don't close any figures unitl I have finished my programming, Any ideas how to fix this?
Rodrigo
Rodrigo on 14 Jan 2024
i found a way to close it without crashing, instead of closing with the red x try closing it with cmd + w which is the fast way to close a window, it worked for me :)

Sign in to comment.


geofo
geofo on 23 Jan 2024
Hi Simone! I am not working at Matlab, I am just a user like you. Sorry to tell you that this problem persisted for a very long time now (some years), so it is unlikely Matlab and Apple will fix this in the following days. You need to find some other solution to fix your project. I know two solutions: (1) write in the startup.m file the two lines from the post above or (2) buy a Linux / Windows computer and install Matlab on it. Good luck!
  2 Comments
xinhui li
xinhui li on 23 Jan 2024
Could you please show me the path of startup.m? There are 3 startup.m in my laptop.
geofo
geofo on 23 Jan 2024
In Mac computers it should be under Documents/MATLAB/. You can check in Matlab "Home" tab, click on "Set Path" icon and check the first path in the list, this is it. If there is no startup file under the directory, make one. If you are still unsure which startup file is Matlab using among those you have, add a line to each of the three files like disp("This is number 1"), disp("This is number 2"), etc.

Sign in to comment.


Pengyu Chen
Pengyu Chen on 26 Oct 2023
When you installed MATLAB R2023b for Apple silicon, it may have inherited Java settings from a previous release that are not compatible with native MATLAB for Apple silicon. Amazon Corretto Java 8 is the only officially supported JRE for MATLAB on Apple silicon. For further information, you can check the following link:
  5 Comments
超恒
超恒 on 18 Nov 2023
This solution did not work for me either :(

Sign in to comment.


Jinbo Zhang
Jinbo Zhang on 28 Oct 2023
I found if you use apple remote desktop to access your Desktop, and MATLAB is just on your screen. MATLAB will be hang up.................

greg wurtz
greg wurtz on 2 Nov 2023
Edited: greg wurtz on 3 Nov 2023
Hello,
I installed 2023b under Sonoma on a Mac with an Intel chip and it has not crashed yet. However, I also am also running the same config on a Mac with an M2 chip (this is another install of 2023b for Apple Silicon). This one launches and processes code but eventually freezes.
addition on 11/3 12:07 EST: Marlab 2023b freezes using the M2 platform only when plotting as far as I can tell.
  5 Comments
the cyclist
the cyclist on 8 Nov 2023
@greg wurtz, I learned from MW support that if you have the focus on a different window (i.e. click on literally any other window), you can successfully manually close a MATLAB figure window.
It's a pretty annoying work-around, but it does seem to work for me.
greg wurtz
greg wurtz on 8 Nov 2023
this works indeed. Thanks!

Sign in to comment.


junyi
junyi on 8 Nov 2023
hey bro,i had the same question .My macos system is 14.1,i unload matlab firstly.Then check https://www.mathworks.com/support/requirements/apple-silicon.html you will find you need download java 8 and Amazon Corretto 8. And you should know that some of products are not suitable for macos ,so just download Matlab ,and click on the matlab icon,you will find you can open it .Good luck!!!
  2 Comments
greg wurtz
greg wurtz on 8 Nov 2023
that is not solving the problem.
junyi
junyi on 9 Dec 2023
check whether u download right version of java or Amazo Corretto.Then try again.
Sometimes ,maybe the file was damaged when downloading, but the chance is tiny.

Sign in to comment.


PD
PD on 8 Nov 2023
I just found out that Turning off the Display contrast in Accessibility -> Display may solve this problem, just set the Display contrast to normal and restart the mac, and then the Matlab will no more freeze after turning off the figure.
  4 Comments
the cyclist
the cyclist on 11 Dec 2023
Just as another data point on this, MathWorks support team worked a lot with me on "It's an Accessibility issue", and that route never solved the problem for me.

Sign in to comment.


David
David on 26 Nov 2023
Oh, that's quite a rollercoaster! It's awesome that Matlab 2023b was running smoothly on your macOS 13.6. The decision to update to Sonoma, however, seems to have introduced a hiccup with Matlab crashing on launch. It's always frustrating when an upgrade leads to unexpected issues. The silver lining is that you're not alone in this, with similar reports on Stack Overflow. Here's hoping the community can pool its expertise to find a solution, and you'll soon have Matlab running seamlessly on Sonoma. Fingers crossed for a quick resolution!
  2 Comments
john
john on 26 Nov 2023
Dear @David,
No matter how expert the community is, only MathWorks has the source code and can give the proper patch for this bug.
However, the community has its solutions :D and you can find a fix for this bug somewhere on the internet. I hope that MW finds it soon and releases it in their 5th update. fingers crossed!
David
David on 27 Nov 2023
Sure we hope so this issue sloved soon!!

Sign in to comment.


Touraj Tajbakhsh
Touraj Tajbakhsh on 11 Dec 2023
Here is a workaround to prevent MATLAB from hanging when closing or docking a figure. Please insert the following code into your startup.m file:
% avoid hangs when closing a figure
set(groot, 'defaultFigureCloseRequestFcn', 'close(gcf)');
set(groot, 'defaultFigureWindowStyle', 'docked');
warning('off', 'MATLAB:close:RecursionOnClose');
% Additional settings for docked figures to prevent hanging
set(groot, 'defaultFigureDockControls', 'on');
  2 Comments
Xiliang Luo
Xiliang Luo on 11 Dec 2023
Does not work. Matlab needs to get a fix or new release.
xinhui li
xinhui li on 23 Jan 2024
Which startup.m? Could you please show me the path?

Sign in to comment.


geofo
geofo on 11 Dec 2023
A variant of the suggested code shown below worked for me. The question is still why nobody at Mathworks is able to fix this problem for 3 years now if it just means two lines of code?
set(groot, 'defaultFigureCloseRequestFcn', 'close(gcf)');
warning off MATLAB:Figure:RecursionOnClose;
  2 Comments
Binod
Binod on 17 Dec 2023
does not work this method in MacOS 14.2 sonoma, M1, 8 GB

Sign in to comment.


Binod
Binod on 17 Dec 2023
Same problem with me ... tried multiple options, but useless!
OS: macOS Sonom 14.2
Chip: M1
Matlab R2022b
Issue: Close a figure by clicking the red cross on the figure, matlab will freeze and unresponsive.

geofo
geofo on 17 Dec 2023
Hi Binod! I uderstand your frustration as I stopped using Mac after I had this same problem each time Mac Sonoma 14 version was updated. I saw in your message after you posted it (got email from Maltabl) that there is a new Mac Sonoma Version 14.2, I had 14.1.2, So I updated all my Mac computers to see what happens. My Macs are as follows:
Mac Air M1, 8 GB
MacMini M1, 16 GB
Macbook Pro 16" with I9, 16 GB
MacBookPro 16" with M1, 32 GB
After the update all of them worked well with Matlab with the two lines added in startup.m I wrote about, Matlab is not freezing anymore:
set(groot, 'defaultFigureCloseRequestFcn', 'close(gcf)');
warning off MATLAB:Figure:RecursionOnClose;
This means it must be something special with your setup. Have you installed the Java amazon-correto? Have you installed the Matlab version for M-processors? Sorry, but I don't have more advices except you can do a favour to yourself and buy a Dell with a multi-core CPU, install Matlab on it and it will work like a charm. I was never a fan of Microsoft Windows, but it works extremely well these days. After I made the change, I didn't use Mac anymore. Good luck!
  2 Comments
Binod
Binod on 18 Dec 2023
Problem persists even with this
dim-ask
dim-ask on 23 Jan 2024
wow this seems to have fixed my problem! Thank you!
Is there any explanation for this?

Sign in to comment.


Zhenhao Zhou
Zhenhao Zhou on 24 Jan 2024
Updating to the newly released macOS 14.3 has solved all figure UI related issues!!!! Can close figures normally, and editing figures using property editor is also functioning well! I think Apple has finally solved this issue(s) that has been there for years!
  1 Comment
James Ganong
James Ganong on 1 Mar 2024
I found a way that works for me using the prerelease of MATLAB 2024a and Amazon Corretto 11.
Here are the details:
With MacOS Sonoma 14.3.1 on Apple Silicon and MATLAB 2023b I was getting the following messages, and MATLAB would apper to hang:
objc[1675]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x23c196340) and /Applications/MATLAB_R2023b.app/bin/maca64/Frameworks/Chromium Embedded Framework.framework/Libraries/libGLESv2.dylib (0x108959e70). One of the two will be used. Which one is undefined.
CodeCache is full. Compiler has been disabled.
Try increasing the code cache size using -XX:ReservedCodeCacheSize=
I tried MATLAB 2024a prerelease, and got a similar message and hang:
jeg@barberfish cafe_dive % /Applications/MATLAB_R2024a.app/bin/matlab
objc[1823]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x23c196340) and /Applications/MATLAB_R2024a.app/bin/maca64/Frameworks/Chromium Embedded Framework.framework/Libraries/libGLESv2.dylib (0x10c859e70). One of the two will be used. Which one is undefined.
CodeCache is full. Compiler has been disabled.
Try increasing the code cache size using -XX:ReservedCodeCacheSize=
Finally, I unistalled Amazon Corretto 8, following the instructions at https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/macos-install.html#macos-uninstall and installed Amazon Correto 11 setting JAVA_HOME follwing instructions at https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/macos-install.html
and now the last line of the errors messages no longer appears and it is no longer appearing to hang:
% matlab
WARNING: package sun.awt.X11 not in java.desktop
WARNING: package sun.awt.X11 not in java.desktop
objc[2933]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x23c196340) and /Applications/MATLAB_R2023b.app/bin/maca64/Frameworks/Chromium Embedded Framework.framework/Libraries/libGLESv2.dylib (0x10d059e70). One of the two will be used. Which one is undefined.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!