cannot install MATLAB R2024b in Ubuntu 24.04.1

66 visualizaciones (últimos 30 días)
Juan
Juan el 10 de Oct. de 2024
Comentada: Star Strider el 29 de Sept. de 2025 a las 11:29
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!?

Respuestas (2)

Star Strider
Star Strider el 11 de Oct. de 2024
Your best option is to Contact Support for installation problems.
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
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
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.

Iniciar sesión para comentar.


Xianjie
Xianjie el 29 de Sept. de 2025 a las 9:26
I have also the same issue.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by