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