MATLAB ships with JOGL 1.1.1 on the static javaclasspath. I'm rusty, but recollect javax.media.opengl.GLProfile is JOGL2. To use that, you need to replace JOGL1 in classpath.txt and update the shared libraries in your matlabroot/bin/$arch folder. N.B. I have no idea whether that will break any MATLAB code using JOGL1.
This link describes how to invoke JOGL in MATLAB via jzy3d ( http://jzy3d.org/). See http://www.mathworks.com/matlabcentral/fileexchange/35026-opengl-3d-graphics-in-matlab-using-jzy3d-a-demo
It works with jzy3d 0.8 or 0.9 but for 0.9 you need to replace the MATLAB-shipped JOGL version as above.
Added: The Netbeans plugin looks still to be 1.1.1 so I must be wrong on GLProfile bit but the rest is OK. Use plain JOGL - not a netbeans plugin from MATLAB (I have not checked recently but MATLAB did not like Netbeans "wrapped" jars a few years ago).