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

조회 수: 4 (최근 30일)
Chris Rygaard
Chris Rygaard 2022년 2월 20일
답변: Chris Rygaard 2022년 3월 1일
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