Error when using webcam support package
Mostrar comentarios más antiguos
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 comentarios
Kurt
el 11 de Ag. de 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
el 26 de Ag. de 2014
I have the same error on Windows XP with R2014a.
Sean de Wolski
el 26 de Ag. de 2014
Did you install the hardware support package with admin privileges?
Daniel
el 21 de Nov. de 2014
I have the same problem with R2014a installed on windows XP. Did you find a solution?
soner karagulmez
el 3 de Feb. de 2015
I have also the same error with R2014b and I don't find any solution.
Raoua Ghodhbani
el 26 de Feb. de 2015
I have also the same error with R2014a .Is there any solution ?
conngame
el 18 de Mzo. de 2015
So, has this question ever been resolved? I have the same problem and looking for a resolution.
Respuestas (2)
Atyanta Nika
el 12 de Nov. de 2015
0 votos
I also experienced that problem, but after I install different choice of driver (I choose: OS Generic Video Interface) it works fine.
kifah kh
el 18 de Jul. de 2018
0 votos
Thanks Mr. Atyanta Nika It works... OS Generic Video Interface
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!