Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Type

Identify type of image acquisition object

Description

The Type property identifies the type of image acquisition object. An image acquisition object can be either one of two types:

  • Video input object

  • Video source object

Characteristics

Access

Read only

Data type

Character vector

Values

[ 'videoinput' | 'videosource' ] Defined at object creation time

Examples

vid = videoinput('winvideo',1)

vid.Type

ans =

videoinput

This example gets the type of a video source object.

src = getselectedsource(vid);
src.Type
ans =
 videosource

See Also

Functions

getselectedsource, videoinput

Was this topic helpful?