I am new to networking. I want to communicate between 2 computers using UDP. I've been searching through Matlab's help section and stumbled across the dsp.UDPSender/Receiver functions. I am still a bit unsure as how these work.
From my understanding, this is the basic idea of how dsp.UDP works
Sender=dsp.UDPSender(‘RemoteIPAddress’,’reciever.IP.Address’); % reciever.IP.Address is the IP of the dsp.UDPReceiver
Var=rand(1,256); Step(Sender, Var)
% while sender is sending info Receiver= dsp.UDPReceiver
Is this set up correct? I am unsure how the step() command works. I understand it transmits data, but I don’t know when to tell the Receiver to step(). Do I run both of these at the same time? Is there a way I can make sure that data is actually being sent?
Thanks in advance,
No products are associated with this question.