Windows 8.1 and UDP not working

4 views (last 30 days)
Dario
Dario on 14 Oct 2014
Commented: Jon Boerner on 15 Oct 2014
Hello,
I updated my system to Windows 8.1 (and also Windows 10 for testing purposes) and now I have problems receiving UDP packets sent from a smartphone. The code is proven to work well on a Windows 7 machine with Matlab 2014a or 2014b installed.
Whereas sending UDP packets is working, receiving doesn't work on a Windows 8.1 machine.
I disabled the firewall and I have checked, whether the packets are able to reach my computer using Wireshark. In other words, I can see the packets using Wireshark Network Sniffer, but Matlab and Simulink can't read them.
Any ideas?
Thank you!
  1 Comment
Jon Boerner
Jon Boerner on 15 Oct 2014
I ran a quick test wit two machines I had on hand (both with R2014b). One was Windows 7 and one was Windows 8.1. I created an echo server with MATLAB on the Windows 7 machine via echoudp and then tried to write it read from it using MATLAB on the Windows 8.1 machine. (I pretty much followed the example in the udp documentation, but instead of using the localhost, I used the Windows 7 machine).
This seemed to work as expected.
The wireshark test definitely makes it seem like a MATLAB issue, but if you have an extra machine with MATLAB around, I wonder if the example I ran also works for you?
How are you receiving UDP in MATLAB? With a udp object? Could you post an example code snippet?

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!