If the ping and software update succeed but the connection from MATLAB fails with one of the above errors, it is likely that incoming UDP traffic is blocked. This issue specifically affects ports used by the RTPS/FastDDS protocol. To address this, create a UDP-specific inbound rule in Windows Defender Firewall. Coordinate with your IT team to follow these steps:
Option 1: Create Inbound UDP Rule using PowerShell
You can use the following command in PowerShell, replacing <SpeedgoatIPaddress> with your Speedgoat IP address (e.g., 192.168.7.1):
New-NetFirewallRule -DisplayName "Speedgoat" -Direction Inbound -RemotePort 5505-5507,5510-5512,5515-5517 -Protocol UDP -Action Allow -Profile Any -RemoteAddress <SpeedgoatIPaddress>
Option 2: Create Inbound UDP Rule using Windows Defender Firewall GUI
Alternatively, implement the rule in the Windows Defender Firewall GUI as shown below:
1. Find "Windows Defender Firewall with Advanced Security" by using the Windows search: 2. Create a new custom inbound rule: 3. Allow UDP connections from remote ports 5505-5507, 5510-5512, 5515-5517: 4. Optionally, for enhanced security and to restrict the rule's scope, consider adding the Speedgoat's remote IP address: 5. Ensure that the rule applies to all three network types (Domain, Private, and Public) as illustrated below: Further Troubleshooting
If the above instructions don't help resolve the communication issues with your Speedgoat hardware, refer to this MATLAB Answer for additional troubleshooting steps: