Matlab 18a and 18b Fail to launch on Fedora 35

5 visualizzazioni (ultimi 30 giorni)
Hi,
I'm having difficulty launching Matlab 18a and 18b on Fedora 35. I have tried these solutions without success:
When I launch Matlab 18a (from the command line), I get this message on the command line:
MATLAB is slecting SOFTWARE OPENGL rendering.
and that's all. No GUI appears, and it does not return me to the command line. Control-C does nothing, and the only way to kill whatever is happening is to close the terminal window.
When I launch Matlab 18b from the command line, I ge the same message on the command line, and the splash screen appears, and then nothing.
I cannot find any MATLAB logs in my home directory. Is there some other place I can look?
If I use the -nodesktop command-line option, I get
[chris@fedora ~]$ /usr/local/MATLAB/R2018a/bin/matlab -nodesktop
MATLAB is selecting SOFTWARE OPENGL rendering.
< M A T L A B (R) >
Copyright 1984-2018 The MathWorks, Inc.
R2018a (9.4.0.813654) 64-bit (glnxa64)
February 23, 2018
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
>> exit
[chris@fedora ~]$
According https://www.mathworks.com/matlabcentral/answers/98599-why-will-matlab-not-start-up-properly-on-my-linux-or-unix-based-system, this indicates a Java problem, but I cannot diagnose it without any other information.
Oddly, this problem does not occur on these releases of Matlab:
  • 15a
  • 16a
  • 16b
  • 17a
  • 17b
  • 19a
  • 19b
  • 20a
  • 20b
  • 21a
  • 21b
Can anybody help me diagnose this? I need to resolve this to support some automated regression tests I am running for a commercial product.
Thanks,
Chris

Risposta accettata

Chris Rygaard
Chris Rygaard il 1 Mar 2022
My new hero is Jaineel Nandu with Mathworks. He or she (apologies) provided the solution:
The key was:
sudo yum install libnsl

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by