Unable to run Matlab in EndeavourOS

20 次查看(过去 30 天)
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