findDescription

Locate OPC HDA servers with particular description

Syntax

ind = findDescription(SIObj,'DescStr')

Description

ind = findDescription(SIObj,'DescStr') returns the indices of the OPC HDA ServerInfo elements in 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)

See Also

Functions