Hi Circuit_seller
There are two toolbox's for matlab. One is Instrument control and the
other is "Data aquisition" (?). In one of these there is a command
ser(?,?), it communicates with the serial port. In matlab type
help ser if there is no ser.m file that means you dont have the toolbox.
You can go to matlabs website and in "Support" you can search for
this type of command. Try these links.
h##p://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do
h##p://www.mathworks.com/matlabcentral/fileexchange/loadFileList.do?objectType=search&criteria=serial+port&objectId=110
Good luck