Cannot open Matlab 2023a after updating to MacOS 15.1

Hi everyone,
I'm using a MacBook Pro with M2 chip and I just updated my MacOS to 15.1. After updating, I found that I cannot open Matlab 2023a with the following error information:
The application “Dock” does not have permission to open “(null)”.
I guess this is related to the fact that 2023a is designed for x86 and the new OS might have some issue about emulation. Does anyone have a solution for this? Thanks a lot!

6 件のコメント

Jihoon
Jihoon 2024 年 10 月 29 日
Exactly same situation with U!
Samuel
Samuel 2024 年 10 月 30 日
I had to reinstall it and then worked fine
Nicola
Nicola 2024 年 10 月 30 日
I did it but It doesn't work yet
yizhen
yizhen 2024 年 10 月 30 日
編集済み: Walter Roberson 2024 年 10 月 30 日
I try to start using the command line:/Applications/MATLAB_R2023b.app/bin/matlab
but output: env: /Applications/ MATLAB_R2023b.app /bin/maca64/path_per_install: No such file or directory
I have been tried 2021b, 2023a and 2023b, there is no way to open them. Do you have any other good suggestions????
Agnes
Agnes 2024 年 11 月 28 日
Only 2024a runs for me now but Psychtoolbox doesnt work with this new Matlab version (in case you need to use that..its madness).
Harry Smith
Harry Smith 2024 年 11 月 29 日
I had to update to R2024b

サインインしてコメントする。

回答 (4 件)

Andrew Frane
Andrew Frane 2024 年 11 月 11 日

4 投票

Here's what worked for me to open Matlab 2023a after updating to Sequoia 15.1:
  • Locate the Matlab app in the Applications folder in the Finder.
  • Right-click (or ctrl-click if you don't have a right mouse button) on the Matlab icon in that folder.
  • In the menu that pops up, click on "Show Package Contents."
  • In the folder that opens, double-click on the "bin" folder.
  • In that folder, double-click on the file called "matlab" to open Matlab.
That opens Matlab using the Terminal (and can be equivalently done by typing the address of the matlab file into the Terminal). Therefore, it may take a minute to get Matlab to open, and it requires you to leave the Terminal app open while using Matlab. But after Matlab is open you can have the Terminal relinquish control of Matlab (for that session) by pressing ctrl-z in the Terminal window and then executing the following two commands in the Terminal:
bg %1
disown %1
bg %1 tells the Terminal to continue job 1 (which presumably is matlab) in the background, and disown %1 tells the Terminal to relinquish control of that job.
Jihoon
Jihoon 2024 年 10 月 29 日

1 投票

I solved this problem by installing the MATLAB 2024b again.

4 件のコメント

Fenglong Song
Fenglong Song 2024 年 10 月 29 日
Thanks. Seems I can launch matlab from terminal by
/Applications/MATLAB_R2023a.app/bin/matlab
I don't want to install newer versions because I need some toolboxes which takes time to configure if I change to ARM-based versions :)
Eladio
Eladio 2024 年 10 月 30 日
Thanks, Fenglong Song. That worked for me also. I typed this in terminal for my version:
/Applications/MATLAB_R2021a.app/bin/matlab
It took a while but it finally opened Matlab.
Any clue when will they fix this?
Parna
Parna 2024 年 11 月 5 日
This worked for me too. Thanks
Miguel
Miguel 2024 年 12 月 2 日
Same here. My version is 2022a and it's the same issue.
Thanks for the workaround

サインインしてコメントする。

Tiago Pomella Lobo
Tiago Pomella Lobo 2024 年 11 月 4 日
編集済み: Walter Roberson 2024 年 11 月 4 日

1 投票

In my understanding, this is a code signing issue:
While no fix is provided, I have made my own automatized launchers that are release agnostic: https://github.com/tplobo/MATLAB_launcher

1 件のコメント

Mark
Mark 2024 年 12 月 20 日
Thank you Tiago, this worked for me!

サインインしてコメントする。

Eladio
Eladio 2024 年 11 月 20 日
編集済み: Eladio 2024 年 11 月 20 日

1 投票

It's been a month since this bug appeared. Isn't there any fix yet from Matlab??
It is extremely bothering to open Matlab with Terminal any time I want to use it

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2023a

タグ

質問済み:

2024 年 10 月 29 日

コメント済み:

2024 年 12 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by