How to clear/refresh UDP InputBuffer?
3 次查看(过去 30 天)
显示 更早的评论
I've written a matlab script that receives data over udp and successfully graphs it realtime...however I'm having some trouble with the script crashing over what I assume is a problem with the inputBuffer becoming too full. (Not sure if this is the correct assumption)
Here's why I think that... Program crashed after a few seconds when the InputBufferSize = 1000... When I increased the the buffer to InputBufferSize = 1000000 (Just any Huge Number) the program runs for about a two minutes before crashing. I'm wondering if there is a method to clear the inputBuffer of a udp object in matlab and if this would fix the problem. Anyone know? Thanks :)
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!