Reading serial and writing to serial is very easy in matlab, but it sometimes hang, serial port already in use and then u need to restart matlab.
The matlab documentation is very good, just type doc serial.
s = serial('COM1','BAUD',4800);
fid = fopen(s);
%do whatever u want to fid here.....
fclose(s);