configureCallback
Syntax
Description
configureCallback(
sets the callback function t,"terminator",callbackFcn)callbackFcn to trigger whenever a terminator
is available to be read from the client connected to the TCP/IP server
t. The syntax sets the BytesAvailableFcnMode
property of t to "terminator" and the
BytesAvailableFcn property to
callbackFcn.
Set the terminator character using configureTerminator.
configureCallback(
sets the callback function t,"byte",count,callbackFcn)callbackFcn to trigger whenever a new
count number of bytes are available to be read. The syntax sets the
BytesAvailableFcnMode property of t to
"byte", the BytesAvailableFcnCount property to
count, and the BytesAvailableFcn property to
callbackFcn.
Examples
Input Arguments
Version History
Introduced in R2021a