MATLAB: Does MATLAB freeze when launching any demo in Virtual Reality Toolbox

graphicsSimulink 3D Animation

When I open any Virtual Reality Toolbox demo, MATLAB freezes.
Sometimes I also see the following warning in the MATLAB command window:
Warning: Error evaluating 'LoadFcn' callback

Best Answer

This is a video driver bug.
To work around this issue, lower the OpenGL Accelerator level
(under Display Properties->Settings->Advanced->Troubleshoot)
to a point where Virtual Reality Toolbox will be able to work.