tcpclientfind
Description
finds connections with property values matching those specified by one or more name-value
arguments. For instance, T
= tcpclientfind(Name=Value
)T = tcpclientfind(Tag="mySensor")
returns
existing TCP/IP client connections whose Tag
property is set to
"mySensor"
.
Examples
Input Arguments
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Example: tcpclientfind(Tag="Send",Port=6000)
returns existing TCP/IP
client connections to port 6000 whose Tag
property is set to
"Send"
.
For tcpclientfind
, you can use one or more properties of the
tcpclient
object as name-value arguments to specify characteristics of the
connections you want to find.
Output Arguments
Version History
Introduced in R2024a