Unable to run Matlab in EndeavourOS

조회 수: 21 (최근 30일)
Isaac
Isaac 2022년 11월 17일
편집: Isaac 2022년 11월 26일
Running a Linux OS
Trying to launch matlab using;
sudo matlab
And getting an error like this
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: 1
/usr/local/MATLAB/R2022b/bin/glnxa64/MathWorksProductAuthorizer.sh: line 14: 8570 Aborted (core dumped) $BINDIR/MathWorksProductAuthorizer $@

채택된 답변

Isaac
Isaac 2022년 11월 26일
편집: Isaac 2022년 11월 26일
I tried ,but failed.
But finally realized the problem, Java was not installed in my System.
Installed using,
yay -S jre jdk
Then, ran ```MathWorksProductAuthoriser```, (which I belive needs Java to work), set the user name to ```root```. Then reboot the system,and ran,
sudo prime-run matlab
Worked like a Charm.
P.S. the ```prime-run``` part is included because I needed to run Matlab on my NVIDIA dGPU and was using ```nvidia-prime``` driver. For optimus and bumblee, please refer archwiki.
Also, the reboot is optional.
@Varun Sai Alaparthi Thanks a lot for the timely reply.

추가 답변 (1개)

Varun Sai Alaparthi
Varun Sai Alaparthi 2022년 11월 21일
Hello Issac,
Please try running the following commands to resolve the issue
cd <matlab installer root directory>
cd /bin/glnxa64
ls | grep libfreetype
mkdir exclude
mv libfreetype.so.6 exclude/
mv libfreetype.so.6.16.0 exclude/
For more information, refer to the below link:

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by