How we will create a UDP packet in Matlab?

How we will create a UDP packet in matlab. Does matlab have built in function or not. Kindly explain with details.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 8 Feb. 2013
Bearbeitet: Randy Souza am 12 Feb. 2013

0 Stimmen

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 Kommentare

jawad
jawad am 11 Feb. 2013
Dear walter Roberson Thank you very much for your kind reply. I want to store voice of 20ms in UDP. I also want to use RTP alongwith for proper sequence number. After that I will send those packets from sender to receiver. Both the sender and receiver will be on the same machine.
Walter Roberson
Walter Roberson am 11 Feb. 2013
Those sound like payload content, as UDP does not have sequence numbers as part of the protocol.
jawad
jawad am 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 am 12 Feb. 2013
Then the routines I noted above should be fine.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Instrument Control Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by