سؤال

I'm writing a Mathlab programe for get input from a serial port.

serPort = serial('COM5','BaudRate', 57600);
fopen(serPort);
.....

Now i want to check this programe with virtual com port(COM5) and sent data to the port virtually. Can someone suggest a software to do this. (Everything is in the same computer)

هل كانت مفيدة؟

المحلول

Try VirtualBox, it creates a virtual machine in which you can virtualize the com port (to a file if you want).

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top