Main Content
findDescription
Locate OPC HDA servers with particular description
Syntax
ind = findDescription(SIObj,'
DescStr
')
Description
ind = findDescription(SIObj,'
returns the indices of the OPC HDA ServerInfo elements in DescStr
')SIObj
,
where the Description
property starts with
'DescStr'
.
Examples
Locate all servers on the local host, with the description starting
'Matrikon'
.
siObj = opchdaserverinfo('localhost'); ind = findDescription(siObj,'Matrikon'); siMatrikon = siObj(ind)