Property characteristics for image acquisition objects
out = propinfo(obj)
out = propinfo(obj,PropertyName)
out = propinfo(obj) returns the structure
out whose field names are the names of all the properties supported by
obj must be a 1-by-1 image acquisition object.
The value of each field is a structure containing the fields shown below.
Data type of the property. Possible values are
Type of constraint on the property value. Possible values are
List of valid character vector values or a range of valid values.
Default value for the property.
Condition under which a property is read only:
out = propinfo(obj,PropertyName) returns the
out for the property specified by
PropertyName is a cell
array of character vectors,
propinfo returns a structure for each
property, stored in a cell array.
To get a list of options you can use on a function, press the Tab key after entering a function on the MATLAB® command line. The list expands, and you can scroll to choose a property or value. For information about using this advanced tab completion feature, see Using Tab Completion for Functions.
Create the video input object
vid = videoinput('winvideo',1);
Capture all property information for all properties.
out = propinfo(vid);
Access property information for a particular property.
out1 = propinfo(vid,'LoggingMode');