integrating Beagleboard xm rev B, and Simulink

Hi!

I’m tring to integrat beagleboard and simulink, I started with the simulink demo video inverstion and
I keep getting task overruns. watching the streaming video on DSP there seems to be about a 1 sec delay
Is that normal using the demo from Math Works?
because I followed the instructions to the letter I assumed it was normal.
Therefore I’m now trying to replace the Video Capture block with one I compose based on C code from openCV.
first I’m trying to insert a mach simpler C code in to a simulink block, and failing completely.
Can anyone help me?

Thanks,
Or.