Real-Time UDP receive for xPC target 5.1
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I am using xPC 5.1 with Matlab 2011b on host PC. I built a simple model to receive the UDP packets from the specific IP address, but the receive block can't receive any message from source. The xPC, host PC and UDP source are in a same subnet network. I checked the received packets via Wireshark in host PC, I received the UDP packets from the source IP but I can't recive in xPC. By the way I have only one network card and I am using a switcher between xPC, host and UDP source.
You can find the Wireshark and Simulink model pictures in below. Thanks in advance.
0 件のコメント
回答 (2 件)
Xikai
2014 年 12 月 7 日
I met with the same problem. By use of Wireshark, I found the udp receiving Port number automatically changed to another port number (for example port number:10000) not the desired port in the xPC target environment. Good luck!
0 件のコメント
Xikai
2014 年 12 月 7 日
I met with the same problem. By use of Wireshark, I found the udp receiving Port number automatically changed to another port number (for example port number:10000) not the desired port in the xPC target environment. Good luck!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Target Computer Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!