cannot install MATLAB R2024b in Ubuntu 24.04.1

65 vues (au cours des 30 derniers jours)
Juan
Juan le 10 Oct 2024
Commenté : Star Strider le 29 Sep 2025 à 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!?

Réponses (2)

Star Strider
Star Strider le 11 Oct 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 commentaires
Star Strider
Star Strider le 3 Déc 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 le 29 Sep 2025 à 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.

Connectez-vous pour commenter.


Xianjie
Xianjie le 29 Sep 2025 à 9:26
I have also the same issue.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by