Products & Services Solutions Academia Support User Community Company

Learn more about Image Acquisition Toolbox   

getselectedsource - Return currently selected video source object

Syntax

src = getselectedsource(obj)

Description

src = getselectedsource(obj) searches all the video source objects associated with the video input object obj and returns the video source object, src, that has the Selected property value set to 'on'.

To select a source for acquisition, use the SelectedSourceName property of the video input object.

obj must be a 1-by-1 video input object.

See Also

get | imaqhelp | videoinput

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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