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
Citation pour cette source
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. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Updated to show the use of a server IP address instead of a server hostname
|