Hi Gypaets,
I understand you're encountering an issue with graphics, and it seems like there's a system issue with OpenGL on CentOS. You can try the following workaround, where you launch MATLAB through a command in a Linux shell:
1.Execute the following command in a Linux shell to start MATLAB:
matlab -softwareopengl
This command instructs MATLAB to use only software OpenGL libraries.
2.Execute the following command in a Linux shell to start MATLAB:
matlab -noopengl
This command uses the undocumented '-noopengl' startup flag to ensure that MATLAB does not use any OpenGL libraries.
3,Create a file named 'java.opts' in the directory from which MATLAB is executed, containing the line:
-Djogl.disable.openglarbcontext=1
Then start MATLAB, and everything should work as expected.
If the above methods do not work, I suggest you contact MathWorks official support.
I hope it helps!