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!