how to store udp data in struct matlab
3 views (last 30 days)
Show older comments
I have radar data received from udp, how can I store in some format to access it
Answers (1)
KSSV
on 16 Jul 2021
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 Comments
See Also
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!