readline
Read line of ASCII string data from UDP socket
Syntax
Description
reads
data from the specified UDP socket until the first occurrence of the terminator, and assigns
the result to data
= readline(u
)data
as a string
. If the function is
unable to return any data within the period specified by the Timeout
property of u
, it returns data
as a 0-by-0 double
[]
. u
must be a byte-type udpport
object. This function waits until the terminator is read or a timeout occurs.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b