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

10 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Oct 2024
Edited: MathWorks Support Team on 21 Oct 2024
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:

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!