Your matlab code could be as follows
s = serial('COM8','BaudRate',9600);
This should be paired with a read method, in your arduino IDE. Make sure that you type in the correct COM port and baud rate. Baud rate should be the same (in your serial object as well as the arduino).