This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Return currently selected video source object


src = getselectedsource(obj)


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

| |

Introduced before R2006a