how to store udp data in struct matlab
1 view (last 30 days)
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.