What does "Bind Error: Can't assign requested address (249)" mean?

I am using Simulink Real-Time for UDP communications on a Speedgoat target. However, when I try to run my model on the target, I get the following error message in the Diagnostic Viewer:
"Error running 'model_name' on target: Cannot load 'model_name' on target 'target_name': model_name: UDP Socket(xxx.xxx.xxx.xxx:xxxxx) Bind Error: Can't assign requested address (249)"
How do I resolve this?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2024년 10월 21일
편집: MathWorks Support Team 2024년 10월 21일
This error message happens when a user tries to run a real-time application using ethernet blocks, but the IP address has not been set on the target.
Firstly, try to open the Speedgoat Ethernet Configuration tool. Run the following (if you have access to the Speedgoat tools):
>> speedgoat.configureEthernet
You may also want to check the configuration of the target IP address using the instructions at this MathWorks Documentation page:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 System Configuration에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by