|MATLAB Function Reference|
Change automatic selection mode of OpenGL rendering
The OpenGL autoselection mode applies when the
RendererMode of the figure is
auto. Possible values for
autoselectallows OpenGL to be automatically selected if OpenGL is available and if there is graphics hardware on the host machine.
neverselectdisables auto selection of OpenGL.
adviseprints a message to the command window if OpenGL rendering is advised, but
RenderModeis set to
opengl, by itself, returns the current auto selection state.
info prints information with the version and vendor of the OpenGL on your system.
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. For example,