User`s guide
Type
Purpose Identify type of image acquisition object
Description The Type property identifies the type of image acquisition object. An
image acquisition obje ct can be either one of two types:
• Video input object
• Video source object
Characteristics
Access Read only
Data type
String
Values [ 'videoinput' | 'videosource' ] Defined at
object creation time
Examples vid = videoinput('win video',1)
get(vid,'Type')
ans =
videoinput
This example gets the type of a video source object.
src = getselectedsour ce(vid);
get(src,'type')
ans =
videosource
See Also Functions
getselectedsource, videoinput
14-55