# Problem to compile DriftDemo with Matlab Compiler?

**URL:** <https://psychtoolbox.discourse.group/t/problem-to-compile-driftdemo-with-matlab-compiler/1607>\
**Category:** Uncategorized\
**Created:** [March 29, 2006, 8:21pm UTC](https://psychtoolbox.discourse.group/t/problem-to-compile-driftdemo-with-matlab-compiler/1607 "2006-03-29T20:21:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [March 29, 2006, 8:21pm UTC](https://psychtoolbox.discourse.group/t/problem-to-compile-driftdemo-with-matlab-compiler/1607/1 "2006-03-29T20:21:56Z")

</div>

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
