Very slow serial communication between Arduino Duemilanove and Matlab R2011a

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