1

我想从 MATLAB 串行发送数据,但我的笔记本电脑没有串口。我必须使用 USB 转 RS232 转换器吗?我的程序会保持不变吗?

4

1 回答 1

1

I have some RS232-USB-Converters and never had any trouble. I need adapters for embedded devices and embedded development.

If your driver is properly installed and works then it is presented as an serial device to the OS.

The device presented (on linux) is named differently (ttyUSB) but that doesn't matter. And using stdio functions like fopen/fclose is one more layer above (libcall, not syscall).

于 2013-01-05T16:59:52.473 回答