cannot install MATLAB R2024b in Ubuntu 24.04.1
66 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dear all,
I am trying to install MATLAB R2024b in Ubuntu 24.04.1 and after trying sudo -H ./install I keep getting this 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: 127
Aborted
I installed X11 libraries, updated libraries as indicated in recent posts, make sure I have permissions in the folder and I still get the same error every time I tried to install it. Please some help!?
0 comentarios
Respuestas (2)
Star Strider
el 11 de Oct. de 2024
Please post back here with MathWorks recommendations and your resolution of this problem. You may not be the only person to experience it.
5 comentarios
Star Strider
el 3 de Dic. de 2024
I used the installer app. I launched it on the MathWorks site.
It first said that it could not create the destination psth, so I first had to create
sudo /usr/local/MATLAB/R2024b
and then it installed on its own after I clicked on that path. No problems since.
(I’m new to Linux, so still learning it.)
.
Star Strider
el 29 de Sept. de 2025 a las 11:29
First, create the path.
Use cd to get to usr/local or /usr/local/bin, (the option I used), then use mkdir to create the additional sub-directories. It may not be necessary to use sudo.
After that, run the installer. Once it has the initial directory path available to it, it should install MATLAB without problems.
That worked for me with R2025a and R2025b.
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!