Hi
The issue might be related to the OpenGL settings.
you can try to use a software version of OpenGL to render graphics, if the default OpenGL is set to hardware.
To know whether you are using hardware or software OpenGL, you can use the following command:
opengl info
The "Software" flag is set to false if you are using hardware OpenGL.
In order to switch to software OpenGL, type the following command in the MATLAB Command Window:
opengl software
To set your preferences so that future sessions of MATLAB on the computer use the Software OpenGL.
opengl('save','software')
Find more information at the following documentation page:
Hope this helps!