How we will create a UDP packet in Matlab?

1 view (last 30 days)
How we will create a UDP packet in matlab. Does matlab have built in function or not. Kindly explain with details.

Accepted Answer

Walter Roberson
Walter Roberson on 8 Feb 2013
Edited: Randy Souza on 12 Feb 2013
You can use the Instrument Control Toolbox. Note that this will not allow you to set all the header values in the UDP packet, just the payload (and the source and destination ports.)
If you do not have the Instrument Control Toolbox, then it is suggested that you use the File Exchange contribution TCP/UDP/IP.
  4 Comments
jawad
jawad on 12 Feb 2013
yes sir you are right. UDP have no sequence number. thats why we are using RTP for sequence number.
Walter Roberson
Walter Roberson on 12 Feb 2013
Then the routines I noted above should be fine.

Sign in to comment.

More Answers (0)

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!