>> help opengl
OPENGL Change automatic selection mode of OpenGL rendering.
The auto selection mode of OpenGL is only relevant when the
RendererMode of the FIGURE is AUTO.
OPENGL AUTOSELECT allows OpenGL to be auto selected if OpenGL
is available and if there is graphics hardware on the host machine.
OPENGL NEVERSELECT disables auto selection of OpenGL.
OPENGL ADVISE prints a message to the command window if OpenGL
rendering is advised, but RenderMode is set to manual.
OPENGL, by itself, returns the current auto selection state.
OPENGL INFO prints information with the Version and Vendor
of the OpenGL on your system. The return argument can be used
to programmatically determine if OpenGL is available on your
system.
OPENGL DATA returns a structure containing the same data
printed when OPENGL INFO is called.
OPENGL SOFTWARE forces MATLAB to use software OpenGL rendering
instead of hardware OpenGL.
On unix, this only works if OpenGL has not yet been used.
OPENGL HARDWARE reverses the SOFTWARE option.
If you do not have hardware acceleration, MATLAB will
automatically switch to software OpenGL rendering.
Note: Use OPENGL INFO to determine if software or hardware
rendering is being used. This will load the OpenGL Library.
OPENGL VERBOSE display verbose messages about OpenGL
initialization (if not already loaded) or other runtime messages.
OPENGL QUIET disable verbose messages.
OPENGL('BUGNAME', 0)
OPENGL('BUGNAME', 1) BUGNAME is a string indicated as a way
to work around an opengl driver bug from the OPENGL INFO command.
Pass in 1 to enable the workaround or 0 to disable it.
Note that the auto selection state only specifies that OpenGL
should or not be considered for rendering, it does not
explicitly set the rendering to OpenGL. This can be done by
setting the Renderer property of FIGURE to OpenGL,
e.g. set(GCF, 'Renderer','OpenGL');
Reference page in Help browser