简体   繁体   English

TCP到Linux中用于Matlab访问的串行端口

[英]TCP to Serial Port in linux for Matlab access

I have a CyberGlove that communicates over wifi by TCP. 我有一个Cyber​​Glove,可以通过TCP通过wifi进行通信。 I'm trying to redirect this to a virtual serial port so I can access the glove's transmissions in Matlab. 我试图将其重定向到虚拟串行端口,以便可以在Matlab中访问手套的传输。 I've looked at socat, but I haven't been able to figure out how to simply redirect the data, and where I should redirect it to. 我已经看过socat,但无法弄清楚如何直接重定向数据以及将数据重定向到何处。 I've never worked with serial ports or TCP before. 我以前从未使用过串行端口或TCP。

Thanks. 谢谢。

Why not use the TCP Port directly? 为什么不直接使用TCP端口? Take a look at the TCP/UDP-Toolbox from from Peter Rydesäter: http://www.mathworks.com/matlabcentral/fileexchange/345-tcpudpip-toolbox-2-0-6 看看PeterRydesäter的TCP / UDP-Toolbox: http : //www.mathworks.com/matlabcentral/fileexchange/345-tcpudpip-toolbox-2-0-6

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM