A Question on UDP Receive Block
Show older comments
Hello Everyone... I am trying to receive UDP Data via Ethernet in Simulink. I have three questions in regard to this.
1) There are two UDP Receive Blocks in Simulink library browser , One in DSP System TOolbox and Instrumentation Control Toolbox. What is the functional difference between these two blocks... I mean why one is preferred over other..
2) Does "UDP Receive" has to be used only with conjuction with UDP Send... i.e If I send UDP packets using "UDP Send " block from another Simulink on Same (or) different Computer???? I believe answer is NO.
The Reason Why I am asking this question is , I used two different computers and Tried to send Data using UDP SEND and UDP Receive ... It Worked... But When I am trying to Send UDP Packets of simple numbers (or) String from another environment (PERL) on different computer, I simply see Zeros on the Receiving side. No matter what I tried on Simulink . (I guess I am missing some simple part)
3) Is there anyone who has tried Sending Data from different Environment (like PERL ) and successfully captured what was sent on SIMULINK platform. If Yes, Are you doing any kind of packing-unpacking at eother side (or Just Sending Raw Numbers. ) ?
Any Idea (or) direction is highly appreciated Please let me know if you have any questions.
1 Comment
Walter Roberson
on 25 Aug 2016
This is a follow-on to http://www.mathworks.com/matlabcentral/answers/300777-sending-udp-packets-from-perl-script-to-simulink in which A P S showed their perl code to send the data.
Accepted Answer
More Answers (0)
Categories
Find more on Event Functions 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!