Image Acquisition Toolbox Previous page   Next Page
imaqfind

Find image acquisition objects

Syntax

Description

imaqfind returns an array containing all the video input objects that exist in memory. If only a single video input object exists in memory, imaqfind displays a detailed summary of that object.

out = imaqfind returns an array, out, of all the video input objects that exist in memory.

out = imaqfind('P1', V1, 'P2', V2,...) returns a cell array, out, of image acquisition objects whose property names and property values match those passed as parameter/value pairs P1, V1, P2, V2. Parameter/value pairs can be specified as a cell array.

out = imaqfind(S) returns a cell array, out, of image acquisition objects whose property values match those defined in the structure S. The field names of S are image acquisition object property names and the field values are the requested property values.

out = imaqfind(obj, 'P1', V1, 'P2', V2,...) restricts the search for matching parameter/value pairs to the image acquisition objects listed in obj. obj can be an array of image acquisition objects.

When searching for properties with specific values, imaqfind performs case-sensitive searches. For example, if the value of an object's Name property is 'MyObject', imaqfind does not find a match if you specify 'myobject'. Use the get function to determine the exact spelling of a property value. Note, however, that searches for properties that have an enumerated list of possible values are not case sensitive. For example, imaqfind will find an object with a Running property value of 'Off' or 'off'.

Example

This example uses imaqfind to find image acquisition objects with the specified property values.

See Also

get, videoinput


Previous page  getsnapshot imaqhelp Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS