Error when using webcam support package

3 views (last 30 days)
Thomas
Thomas on 4 Aug 2014
Answered: kifah kh on 18 Jul 2018
Hi,
on a new installation of MATLAB R2014a I installed the USB Webcam support package. When I enter
webcamlist
in the command window I get the following error message:
Invalid MEX-file 'C:\MATLAB\SupportPackages\R2014a\webcam\webcammex.mexw64': The specified module could not be found.
Error in matlab.webcam.internal.Utility.enumerateWebcams (line 21)
Error in webcamlist (line 25)
[success, camList] = matlab.webcam.internal.Utility.enumerateWebcams;
The only advice I found on these types of errors was to install the redistributable packages of Visual C++. Thus I installed the following packages:
Microsoft Visual C++ 2013 Redistributable Package
Microsoft Visual C++ 2012 Redistributable Package (Update 4)
Microsoft Visual C++ 2010 Redistributable Package (SP1)
However, the error is still raised. Is there anything else that I can try?
Cheers, Thomas
  7 Comments
Raoua Ghodhbani
Raoua Ghodhbani on 26 Feb 2015
I have also the same error with R2014a .Is there any solution ?
conngame
conngame on 18 Mar 2015
So, has this question ever been resolved? I have the same problem and looking for a resolution.

Sign in to comment.

Answers (2)

Atyanta Nika
Atyanta Nika on 12 Nov 2015
I also experienced that problem, but after I install different choice of driver (I choose: OS Generic Video Interface) it works fine.

kifah kh
kifah kh on 18 Jul 2018
Thanks Mr. Atyanta Nika It works... OS Generic Video Interface

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!