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 Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

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