This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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