help, SCREENOpenWindow

I writed my code like this:
whichScreen=0;
[window,screen_rect]=SCREEN(whichScreen,'OpenWindow',0);
black_screen=SCREEN(window,'OpenOffscreenWindow',0);
SCREEN(window,'Close');
But the matlab returns :
SCREENOpenWindow: Cannot set full screen mode.

thanks,

jihong