get - Image acquisition object properties

Syntax

get(obj)
V = get(obj)
V = get(obj,PropertyName)

Description

get(obj) displays all property names and their current values for image acquisition object obj.

V = get(obj) returns a structure, V, in which each field name is the name of a property of obj and each field contains the value of that property.

V = get(obj,PropertyName) returns the value of the property specified by PropertyName for image acquisition object obj. Use the get(obj) syntax to view a list of all the properties supported by a particular image acquisition object.

If PropertyName is a 1-by-N or N-by-1 cell array of strings containing property names, V is a 1-by-N cell array of values. If obj is a vector of image acquisition objects, V is an M-by-N cell array of property values where M is equal to the length of obj and N is equal to the number of properties specified.

Examples

vid = videoinput('matrox', 1);
get(vid, {'FramesPerTrigger','FramesAcquired'})
out = get(vid, 'LoggingMode')
get(vid);

See Also

set, videoinput

  


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