Unable to run Matlab in EndeavourOS

20 visualizaciones (últimos 30 días)
Isaac
Isaac el 17 de Nov. de 2022
Editada: Isaac el 26 de Nov. de 2022
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 $@

Respuesta aceptada

Isaac
Isaac el 26 de Nov. de 2022
Editada: Isaac el 26 de Nov. de 2022
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.

Más respuestas (1)

Varun Sai Alaparthi
Varun Sai Alaparthi el 21 de Nov. de 2022
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:

Categorías

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

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by