Main Content
configureTerminator
Set terminator for ASCII string communication with remote host over TCP/IP
Since R2020b
Description
configureTerminator(
defines the terminator for both read and write communications with the remote host specified
by the TCP/IP client t
,terminator
)t
. Allowed terminator values are
"LF"
(default), "CR"
, "CR/LF"
,
and integer values from 0
to 255
. The syntax sets the
Terminator
property of t
.
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.t
,readterminator,writeterminator
)
Examples
Input Arguments
Version History
Introduced in R2020b