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

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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by