I am trying to do a serial interface on a medical pump via Matlab using examples of serial communication that I have found on the internet, but what seems like a really simple task just isn't working for me. Here are the codes that I've been trying with:
s = serial('COM1');
This should return me with some device information but on the command window, it only shows:
Serial Port Object : Serial-PORT
so here it is telling me that the communication is closed, yet in the code that I used, this status should be open shouldn't it?
If anyone can point me in the right direction it'll be much appreciated.
Thanks in advance
0 · ·