How to Disable "Couldn't create JOGL canvas--using painters" Message?

24 Ansichten (letzte 30 Tage)
Aaron
Aaron am 11 Jul. 2025
Kommentiert: Aaron am 16 Jul. 2025
Whenever I use any function that involves plotting, I get the message "Couldn't create JOGL canvas--using painters". It's not a warning because it's not orange, nor is it an error because it's not red. So it's some sort of mysterious third thing.
Whatever it is, this message doesn't affect my work at all---it's just really annoying not being able to see the rest of my command window because of it. So I'd like to know if's possible to just turn the message off

Akzeptierte Antwort

Shlok
Shlok am 15 Jul. 2025
Hi Aaron,
The message "Couldn't create JOGL canvas--using painters" appears when MATLAB can't initialize OpenGL graphics properly, usually due to issues with the graphics driver or system libraries.
To resolve this, try launching MATLAB with OpenGL by running:
matlab -softwareopengl
or
matlab -softwareopenglmesa
from the Windows Command Prompt. If that helps, consider updating your graphics driver.
If you'd like to prevent the message from showing up every time MATLAB starts, you can set OpenGL as the default for all future sessions. To do that, run this in the MATLAB Command Window:
opengl('save','software')
Then restart MATLAB.
Also, check out the following link for further troubleshooting:
Hope this helps!
  4 Kommentare
Shlok
Shlok am 16 Jul. 2025
Did you try running the opengl('save','software') command in the MATLAB Command Window?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by