Error in 'udp/UDP Receive': Received a fractional-length packet for the specified data type.
2 次查看(过去 30 天)
显示 更早的评论
Hi, I need simulink to be able to receive udp data from an external source. I am using the UDP receive block. When the UDP communication is within the model (in localhost), everything works great. But, if I try to receive data from an external source I allways get the error:
Error in 'udp/UDP Receive': Received a fractional-length packet for the specified data type.
Can someone help? Thanks in advance.
回答(1 个)
Michael
2022-6-22
I've had this issue before and it was related to the port already being used by another process. You may want to change you port and/or check to make sure the UDP port isn't already in use.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Development Computer Setup 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!