User`s guide

Configuring Image Acquisition Object Properties
5-19
InputFilter = lowpass
UserOutputBit3 = off
UserOutputBit4 = off
XScaleFactor = 1
YScaleFactor = 1
Viewing the Value of a Particular Property
To view the value of a particular property of an image acquisition object, access the value
of the property as you would a field in a MATLAB structure.
This example illustrates how to access a property by referencing the object as if it were a
MATLAB structure using dot notation.
vid.Previewing
ans =
off
Getting Information About Object Properties
To get information about a particular property, see “Image Acquisition Toolbox
Properties” on page 5-28. You can also get information about a particular property at
the command line by using the propinfo or imaqhelp functions.
The propinfo function returns a structure that contains information about the
property such as its data type, default value, and a list of all possible values, if the
property supports such a list. This example uses propinfo to get information about the
LoggingMode property.
propinfo(vid,'LoggingMode')
ans =
Type: 'string'
Constraint: 'enum'
ConstraintValue: {'memory' 'disk' 'disk&memory'}
DefaultValue: 'memory'
ReadOnly: 'whileRunning'
DeviceSpecific: 0