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

5 ビュー (過去 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 Center および File ExchangeIntroduction 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