Sending image from Matlab via serial port and sending it back

I am using a Leonardo.

First I tried it with 9600 bps, it was the same.

I read data from the PC with Serial.read(), then I send it to Serial1 with Serial1.write() and from there I send it back to the PC with Serial.write().