Problem to compile DriftDemo with Matlab Compiler?

Hi, everyone,

I tried to compile DriftDemo from psychtoolbox. After the
compilation, the stand-alone executable file was sucessfully created.

but... when i run it, the whole screen went black and grey (flashing
couple times) for about 5 seconds. I can't see the sinewave (motion
pattern) at all.

It supposed to show the sinewave motion if I used matlab to run the
driftdemo.m

Does everyone know how to solve this problem??

Thank you so much.

taichifong