Error when using webcam support package
Show older comments
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
Kurt
on 11 Aug 2014
I am using R2014a on Windows XP and have the exact same behavior:
cam = webcamlist
Invalid MEX-file 'C:\MATLAB\SupportPackages\R2014a\webcam\webcammex.mexw32': 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;
Daniel
on 26 Aug 2014
I have the same error on Windows XP with R2014a.
Sean de Wolski
on 26 Aug 2014
Did you install the hardware support package with admin privileges?
Daniel
on 21 Nov 2014
I have the same problem with R2014a installed on windows XP. Did you find a solution?
soner karagulmez
on 3 Feb 2015
I have also the same error with R2014b and I don't find any solution.
Raoua Ghodhbani
on 26 Feb 2015
I have also the same error with R2014a .Is there any solution ?
conngame
on 18 Mar 2015
So, has this question ever been resolved? I have the same problem and looking for a resolution.
Answers (2)
Atyanta Nika
on 12 Nov 2015
0 votes
I also experienced that problem, but after I install different choice of driver (I choose: OS Generic Video Interface) it works fine.
kifah kh
on 18 Jul 2018
0 votes
Thanks Mr. Atyanta Nika It works... OS Generic Video Interface
Categories
Find more on MATLAB 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!