how to store udp data in struct matlab
3 次查看(过去 30 天)
显示 更早的评论
I have radar data received from udp, how can I store in some format to access it
回答(1 个)
KSSV
2021-7-16
S(1) = struct ;
S(1).distance = rand(10,1) ; % your distance array
S(1).direction = rand(10,1) ; % your direction array
If you have multiple region data, you can save them into different structure arrays.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!