- Ensure that the IP addresses for the Real-Time UDP Configuration block and the TCP/IP Target Address are distinct from each other and from any other IP addresses that are already in use.
- It is recommended to place real-time UDP communication and target-host communication on different sub-networks to avoid interference.
- If you want to send data to the host instead of another real-time device, then you can try using Legacy UDP blocks instead.
UDP Error Simulink Real-Time
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I'm trying to make an UDP Receiver model on my Simulink Real Time Target. Here is the basic model to receive message with UDP Protocol that I build:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1726571/image.png)
When I load this model to my real time target and run it, I get errors like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1726576/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1726581/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1726586/image.jpeg)
I didn't find any solution in other topics related to my problem. Is there any possible solution? Hpow can i fix it? Maybe the model I built up is incorrect, so you would consider them also.
Thanks to all.
댓글 수: 0
답변 (1개)
Bhanu Prakash
2024년 7월 10일
Hi Oktay,
To troubleshoot the error 'Error: EtherInit: Ether ID <ID>: Registration Error 2', you can try the following steps:
I hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Development Computer Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!