Figure window not showing up
Show older comments
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
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
Star Strider
on 3 Sep 2025
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
on 3 Sep 2025
Stephen
on 3 Sep 2025
Star Strider
on 3 Sep 2025
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.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!