A simple UDP communications application
by Kevin Bartlett
22 Jun 2009
(Updated 29 Mar 2010)
Sends/receives UDP packets using Matlab's Java interface.
|
Watch this File
|
| File Information |
| Description |
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).
|
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
TCP/IP Socket Communications in MATLAB
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 29 Mar 2010 |
Added socket.setReuseAddress(1) in order to make reuse of port numbers more reliable after pressing ctrl-C (thanks to Adam Becker for the suggestion). Also tidied up some MLint messages. |
| 29 Mar 2010 |
Forgot to attach new version of judp.m on last update. |
|
Contact us at files@mathworks.com