UDP Real Time Plotting Animated Lines
Udp Real Time Plotting using animatedLines. It plots multiple animatedLines on a single Axes. Uses the callback bytesAvailableFcn to schedule when to read and plot the data. Hopefully this will help people who are also trying to do real time udp data plotting. You may need to change different values to get the code to work for you. Some parts of the code are designed for how I'm formatting the udp data I'm sending to the computer running the matlab script. Therefore this code may not work for you unless you tweak it but I hope it helps.
Please note that you need to hard Code the IP address of the server (other computer sending the data) for you to be able to receive the data. Good luck on your project
引用
Matthew Mellor (2024). UDP Real Time Plotting Animated Lines (https://www.mathworks.com/matlabcentral/fileexchange/58379-udp-real-time-plotting-animated-lines), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 | Updated to show the use of a server IP address instead of a server hostname
|