Error when using webcam support package
显示 更早的评论
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 个评论
Kurt
2014-8-11
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
2014-8-26
I have the same error on Windows XP with R2014a.
Sean de Wolski
2014-8-26
Did you install the hardware support package with admin privileges?
Daniel
2014-11-21
I have the same problem with R2014a installed on windows XP. Did you find a solution?
soner karagulmez
2015-2-3
I have also the same error with R2014b and I don't find any solution.
Raoua Ghodhbani
2015-2-26
I have also the same error with R2014a .Is there any solution ?
conngame
2015-3-18
So, has this question ever been resolved? I have the same problem and looking for a resolution.
回答(2 个)
Atyanta Nika
2015-11-12
0 个投票
I also experienced that problem, but after I install different choice of driver (I choose: OS Generic Video Interface) it works fine.
kifah kh
2018-7-18
0 个投票
Thanks Mr. Atyanta Nika It works... OS Generic Video Interface
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!