TCP/IP and real time plot/point cloud?
显示 更早的评论
Hello, I wish to collect data from a sensor that features a TCP/IP interface and i'm trying to make it work with matlab. I managed to collect data from a single scan and plot the results, however when i send a specific command the sensor send to the input buffer data at 15Hz.
What I'd like to achieve is to read this data almost simultaneously in order to have a dynamic plot or a point cloud, in order to do further analysys. Thanks!
回答(1 个)
sen sun
2018-8-20
0 个投票
you should create a timer to receive real-time data from sensor.
1 个评论
Walter Roberson
2018-8-20
Probably not. A BytesAvailableFcn callback would probably make more sense.
类别
在 帮助中心 和 File Exchange 中查找有关 TCP/IP Communication 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!