Unable to launch the MATLABWindow application. The exit code was: 262

I can not install MATLAB 2024b on Ubuntu 22.04.5 LTS.
In the installation folder ~/Téléchargements/matlab_R2024b_Linux I run the command:
sudo ./install
and get the following error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 262
Abandon (core dumped)
Any idea how to solve this?
I found solutions for exit codes 1 and 127 but they do not apply to my problem.

4 件のコメント

Vincent
Vincent 2024 年 10 月 18 日
編集済み: Vincent 2024 年 10 月 18 日
I have the same issue on Ubuntu 24.04.1 LTS...
Nuno
Nuno 2025 年 3 月 24 日
I had the same problem but I have found out what was the problem:
Matlab doesn't like accents! Just try to take out the accents on "é" on Téléchargements and it will probably work...
As simple (and dumb) as that...
Richard
Richard 2025 年 4 月 4 日
Thanks ! It also worked for me.
Julien
Julien 2025 年 4 月 4 日
Thank you very much, I had this problem on linux Ubuntu 22.04. In fact it was only the é of Téléchargements that was causing the problem.

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

 採用された回答

Michelle
Michelle 2024 年 10 月 18 日

11 投票

Fo people having the same issue: I solved the poblem by changing the installation folder to ~/Documents/matlab_R2024b_Linux. It was most probably the special character é in the path that created the bug.

12 件のコメント

Miroslav Flídr
Miroslav Flídr 2024 年 10 月 23 日
I can confirm that this problem is triggered by accented characters in the full folder name. For me the problematic folder is named ~/Stažené (Downloads in czech language).
Viola
Viola 2024 年 10 月 31 日
omg same! I moved to documents and it works! Debilní Stažené
Paul A
Paul A 2024 年 11 月 17 日
Thank you bro, i have the same idea with you but i didnt notice that my outer folder name is in Chinese
哲也
哲也 2025 年 1 月 10 日
Thank you. I experienced exactly the same issue. In my case, the folder name was in Japanese.
John
John 2025 年 1 月 24 日
when i do this
xxsyskt6_03@xxsyskt6-HP-Z2-Tower-G9-Workstation-Desktop-PC:~/下载$ mv matlab_R2024b_Linux ../
it's works!
Pengzhan
Pengzhan 2025 年 2 月 13 日
Same question solved for the folder name with Chinese.
nessma
nessma 2025 年 2 月 17 日
yess it worked thanks !!
禧元
禧元 2025 年 2 月 19 日
thanks!!
Maxime
Maxime 2025 年 2 月 28 日
編集済み: Maxime 2025 年 2 月 28 日
Thanks it worked !
Rui
Rui 2025 年 3 月 7 日
It also works for me.
陈
2025 年 6 月 5 日
thanks, it works for me!!
书宇
书宇 2025 年 8 月 6 日
Thanks,it works for me,I change the folder to ~/tmp/matlab_R2024b_Linux

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

その他の回答 (0 件)

製品

リリース

R2024b

質問済み:

2024 年 10 月 13 日

コメント済み:

2025 年 8 月 6 日

Community Treasure Hunt

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

Start Hunting!