| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Image Acquisition Toolbox |
| Contents | Index |
| Learn more about Image Acquisition Toolbox |
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
Access | Read only |
Data type | String |
Values | [ 'videoinput' | 'videosource' ] Defined at object creation time |
vid = videoinput('winvideo',1)
get(vid,'Type')
ans =
videoinputThis example gets the type of a video source object.
src = getselectedsource(vid); get(src,'type') ans = videosource
![]() | TriggerType | UserData | ![]() |

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 |