Figure window not showing up

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 Comments

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.
going to see if upgrading to rawhide fixes anything and report back
So upgrading to rawhide fixed it....... so......solved?
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.

Sign in to comment.

 Accepted Answer

Matt J
Matt J on 3 Sep 2025
Moved: Matt J on 3 Sep 2025
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

More Answers (0)

Categories

Products

Release

R2024b

Asked:

on 3 Sep 2025

Moved:

on 3 Sep 2025

Community Treasure Hunt

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

Start Hunting!