There are no devices installed for the specified adaptorname

Source: Internet
Author: User

I was using the MATLAB r2011b and intended to request the resource from the camera. The camera was well set up.

Problem description:

> Out = imaqhwinfo

Out =

Installedadaptors: {'matrox' 'winvideo '}
MATLAB version: '7. 13 (r2011b )'
Toolboxname: 'image acquisition toolbox'
Toolboxversion: '4.2 (r2011b )'

> Source. Vid = videoinput ('winvideo', 1, 'yuy2 _ 320x240 ');
Error Using videoinput (line 228)
There are no devices installed for the specified adaptorname. See imaqhwinfo.

Solution:

> Imaqreset

> Vid = videoinput ('winvideo', 1, 'yuy2 _ 320x240 ');
> Help imaqreset
Imaqreset disconnect and delete all image acquisition objects.

Imaqreset deletes any image acquisition objects existing in
Memory as well as unloads all adaptors loaded by the toolbox.
A result, the image acquisition hardware is reset.

Imaqreset is the image acquisition command that returns MATLAB
The known state of having no image acquisition objects and no
Loaded image acquisition adaptors.

Imaqreset will also force the toolbox to search for new hardware
That may have been installed while MATLAB was running.

Imaqreset shocould not be called from any of the callbacks of
Videoinput object such as the startfcn or framesacquiredfcn.

See also imaqhelp, imaqdevice/Delete.

Reference page in help Browser
Doc imaqreset

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.