writeline
Write line of ASCII data to UDP socket
Description
writeline(
writes the ASCII data u,data,destinationAddress,destinationPort)data, followed by the terminator, to the specified
IP destinationAddress and destinationPort.
u must be a byte-type udpport object. The function
waits until the data and terminator are written to the UDP socket, or until a timeout
occurs.
writeline( writes
the ASCII data to the last used u,data)destinationAddress and
destinationPort. If you do not specify
destinationAddress and destinationPort in a previous
call to write or writeline for the UDP socket
u, this syntax throws an error.
Examples
Input Arguments
Version History
Introduced in R2020b