configureTerminator
Set terminator for ASCII string communication with UDP socket
Description
configureTerminator(
defines the terminator for both read and write communications with the specified UDP socket.
u,terminator)u must be a byte-type udpport object. Allowed
terminator values are "LF" (default), "CR",
"CR/LF", and integer values from 0 to
255. The syntax sets the Terminator property of
u.
After you set the terminator, use writeline and
readline to write and read ASCII-terminated string data.
configureTerminator(
defines separate terminators for read and write communications.u,readterminator,writeterminator)
Examples
Input Arguments
Version History
Introduced in R2020b