Sending image from Matlab via serial port and sending it back

I am trying to read it back to the PC from the serial port immediately so I do not want to store it. It is meaningless for now, but I need to make it work like this now.