Very slow serial communication between Arduino Duemilanove and Matlab R2011a

robtillaart:
The code waits for serial input (from matlab) before it sends something.
That may be the cause.

How would I fix that.