MATLAB Function Reference    
opengl

Change automatic selection mode of OpenGL rendering

Syntax

Description

The OpenGL autoselection mode applies when the RendererMode of the figure is auto. Possible values for selection_mode are:

opengl, by itself, returns the current auto selection state.

opengl 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,


 openfig openvar