When running MATLAB(2024b) via the command-line in fedora 42 linux(x11), the figure window refuses to pop up when i run a script for a plot. All signs indicate that the script has completed witht the exception of the window popping up.
Ive tried the following
  • -nodesktop
  • -nodisplay
  • -nosoftwareopengl
  • -softwareopengl
  • -nojvm
  • manually setting the display via the -display command which crashes matlab
  • reinstalled Service Host
>opengl info
Warning: The opengl function will be removed in a future release. Use the rendererinfo function instead.
Version: ''
Vendor: ''
Renderer: 'None'
RendererDriverVersion: ''
RendererDriverReleaseDate: ''
MaxTextureSize: 0
Visual: ''
Software: 0
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
Invalid use of operator.
GraphicsRenderer: 'WebGL'
Vendor: 'Google Inc. (NVIDIA Corporation)'
Version: 'WebGL 2.0 (OpenGL ES 3.0 Chromium)'
RendererDevice: 'ANGLE (NVIDIA Corporation, NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2, OpenGL 4.5.0)'
Details: [1×1 struct]
any suggestions?

4 件のコメント

Star Strider
Star Strider 2025 年 9 月 3 日
I had a similar problem with Ubuntu 24.04 and MATLAB R2025a a month or so ago, although for me it was the plots failing to appear in an existing figure object. (This may be new behaviour in R2025a.) I have no idea what the problem was (and probably never will), since interim Ubuntu updates solved it. R2025a uses WebGL.
Be sure your Linux installation has the latest updates.
Stephen
Stephen 2025 年 9 月 3 日
going to see if upgrading to rawhide fixes anything and report back
Stephen
Stephen 2025 年 9 月 3 日
So upgrading to rawhide fixed it....... so......solved?
Star Strider
Star Strider 2025 年 9 月 3 日
Probably.
You did not mention if this was new or if your MATLAB installation is new. The Platform Roadmap may offer some insight as to whether MATLAB supports your Linux version. That may have been the problem.

サインインしてコメントする。

 採用された回答

Matt J
Matt J 2025 年 9 月 3 日
移動済み: Matt J 2025 年 9 月 3 日

0 投票

I wonder if the default figure position changed somehow so that figure windows open off-screen... Opening a window with an explicit position specification,
figure('Position',[0,0,500,500],'Visible','on')
would have been my recommendation

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2024b

質問済み:

2025 年 9 月 3 日

移動済み:

2025 年 9 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by