How to receive data using UDP?

조회 수: 2 (최근 30일)
Kidus Guye
Kidus Guye 2017년 10월 6일
댓글: Rashi Mehrotra 2021년 8월 9일
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
Sree
Sree 2021년 4월 9일
https://www.mathworks.com/help/xpc/examples/target-to-host-transmission-using-udp.html, This link no longer works, Can you please provide the latest link for it?
Rashi Mehrotra
Rashi Mehrotra 2021년 8월 9일
Kidus, how did you figure out, I am getting the same error.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Development Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by