How to read data over the website into the matlab?

Guys, Im tying to get data from the server where my arduino posting the data to using udp, I checked that i can easily send the data using udp via matlab to arduino nano iot 33. But Im trying find how to read the data. As, data stream is super fast its giving me 40 readings in 20 milli seconds. and its 2 emg data. ? Can someone explain me this i tried using updread function of matlab but it didn't worked out.
u = udpport("IPV4");
data = read(u,5,"uint32");

1 Comment

what happened when you tried that code?
Where do you configure the port number?

Sign in to comment.

Answers (0)

Categories

Products

Release

R2022b

Asked:

on 16 Sep 2022

Edited:

on 16 Sep 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!