TCP/IP and real time plot/point cloud?
3 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
sen sun
2018-8-20
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!