Windows 8.1 and UDP not working

3 次查看(过去 30 天)
Dario
Dario 2014-10-14
评论: Jon Boerner 2014-10-15
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 个评论
Jon Boerner
Jon Boerner 2014-10-15
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?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by