cannot install MATLAB R2024b in Ubuntu 24.04.1
조회 수: 65 (최근 30일)
이전 댓글 표시
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
답변 (2개)
Star Strider
2024년 10월 11일
Please post back here with MathWorks recommendations and your resolution of this problem. You may not be the only person to experience it.
댓글 수: 5
Star Strider
2024년 12월 3일
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
2025년 9월 29일 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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!