There is another opengl issue in newer Matlab releases (e.g. R2013a):

Matlab crashes when using "opengl info" or displaying opengl-based graphics required in 3D applications, as for example "vol3D.m" etc...

I've solved this problem following the instructions posted in:

regarding with:

To identify this error, start MATLAB with

LIBGL_DEBUG=verbose matlab

from the terminal and try to collect OpenGL information with opengl info from the MATLAB command prompt. If it crashes again and there is an output line like

libGL error: dlopen /usr/lib/xorg/modules/dri/ failed (/usr/local/MATLAB/R2011b/bin/glnxa64/../../sys/os/glnxa64/ version `GLIBCXX_3.4.15' not found (required by /usr/lib/xorg/modules/dri/ the problem is that MATLAB uses its own GNU C++ library, which is an older version than the up-to-date version on your Archlinux system. Make MATLAB use the current C++ library for your system by

cd /usr/local/MATLAB/R(your release)/sys/os/glnxa64
sudo unlink ln -s /usr/lib/
In our case, Ubuntu (x86_64), the following symbolic link:

sudo ln -s /usr/lib/x86_64-linux-gnu/

has to be used instead of the latter one (/usr/lib/ posted in Archlinux.

Hope it helps you