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 Kommentare

Vincent
Vincent am 18 Okt. 2024
Bearbeitet: Vincent am 18 Okt. 2024
I have the same issue on Ubuntu 24.04.1 LTS...
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...
Thanks ! It also worked for me.
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.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Michelle
Michelle am 18 Okt. 2024

11 Stimmen

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 Kommentare

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).
omg same! I moved to documents and it works! Debilní Stažené
Thank you bro, i have the same idea with you but i didnt notice that my outer folder name is in Chinese
Thank you. I experienced exactly the same issue. In my case, the folder name was in Japanese.
when i do this
xxsyskt6_03@xxsyskt6-HP-Z2-Tower-G9-Workstation-Desktop-PC:~/下载$ mv matlab_R2024b_Linux ../
it's works!
Same question solved for the folder name with Chinese.
yess it worked thanks !!
thanks!!
Maxime
Maxime am 28 Feb. 2025
Bearbeitet: Maxime am 28 Feb. 2025
Thanks it worked !
It also works for me.
thanks, it works for me!!
Thanks,it works for me,I change the folder to ~/tmp/matlab_R2024b_Linux

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Version

R2024b

Gefragt:

am 13 Okt. 2024

Kommentiert:

am 6 Aug. 2025

Community Treasure Hunt

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

Start Hunting!