Generation of bicubic surface in opengl

I have generated a bicubic patch in Matlab and now i want to generate in opengl for animation purpose. I am a new user to opengl and knows very little about it. Can you please tell me the procedure for generating a “bicubic surface” in opengl, if possible send me a sample code also.

thanking you,
~Shirish

Have A Look in the OpenGL redBook