How to compile OpenGL on Matlab plug-in CUDA

I have successfully compiled a CU file on Matlab +CUDA. I want to used OpenGL to show this output on this platform, but I don’t work. The problem is that when I used command
nvmex -f nvmexopts.bat -IC:\cuda\include -LC:\cuda\lib -lcudart

Glut library of OpenGL can not be called.