Matlab Python UDP Socket

Basic example for UDP communication in Matlab using Python Socket implementation
490 Downloads
Updated 16 Mar 2017

View License

This basic example offers an interface for UDP communication using the python socket implementation.
I experienced this method to run more stable in time critical application than the matlab/java UDP socket.
The pyUDPsocket class binds a given port for receiving UDP packets with recv(buffersize) and allows to send packets by using the sendto(ip, port,message) method. As far as I know, all python dependencies should be resolved by the python version that shipped with Matlab.

Cite As

Jan Barowski (2024). Matlab Python UDP Socket (https://www.mathworks.com/matlabcentral/fileexchange/62091-matlab-python-udp-socket), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Call Python from MATLAB in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0