File Exchange

image thumbnail

A simple UDP communications application

version (3.44 KB) by Kevin Bartlett
Sends/receives UDP packets using Matlab's Java interface.


Updated 22 Jul 2021

View License

UDP packets are used to send data from one computer to another over a network or from one application to another within a single computer.
The judp.m program uses Matlab's ability to call Java code to enable it to send and/or receive UDP packets. One Matlab session can communicate with another Matlab session (on the same machine or over the network) or it can communicate with a completely different program (again, on the same machine or over the network).

Cite As

Kevin Bartlett (2021). A simple UDP communications application (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: TCP/IP Socket Communications in MATLAB

Community Treasure Hunt

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

Start Hunting!