How to receive data using UDP?

5 次查看(过去 30 天)
I am working on a project and want to use UDP protocol to transfer data from one simulink model to another. For now I want to try to see how to transfer a constant number using udp sender/receiver. Can anyone guide me through the steps needed to achieve this either on the same computer or on two different computers? I appreciate if one can describe for me the step by step procedure to transfer data using udp from one simulink model to another either on the same computer or two different computer.

采纳的回答

Suze Zhang
Suze Zhang 2017-10-9
Hi Kidus,
For transferring data over the UDP network using Simulink, it can be done on the same computer (even the same Simulink model) or on different machines.
Here is a link to an example on transferring data on the same computer:
Here is another example on target to host transmission using UDP with Simulink Real-Time:
  4 个评论
Rashi Mehrotra
Rashi Mehrotra 2021-8-9
Kidus, how did you figure out, I am getting the same error.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Block Libraries 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by