User`s guide
SelectedSourceName
Purpose Specify name of currently selected video source
Description The SelectedSour ceNa me property specifies the name of the video
source object from which the video input object acquires data. The name
is specified as a string. By default, the video input ob je ct selects the
first available video source object stored in the
Source property.
The too lbox defines a video source as one or more hardware inputs
that are treated as a single entity. For example, hardware supporting
multiple RGB sources, each of which is made up of three physical
connections (red-g reen-blue), is treated as a single video source object.
Characteristics
Access Read only while running
Data type
String
Values The video input obje ct assigns a name to each video
source object it creates. Names are defined at object
creation time and are vendor specific.
By default, the toolbox uses the first available source
name.
Examples To see a list of all available sources, create a video input object.
vid = videoinput('mat rox');
Use the set functi on to view a list of all available video source objects.
src_names = set(vid,' SelectedSourceName') ;
See Also Functions
set
Properties
Source
14-35