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 Comments

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;
I have the same error on Windows XP with R2014a.
Did you install the hardware support package with admin privileges?
I have the same problem with R2014a installed on windows XP. Did you find a solution?
I have also the same error with R2014b and I don't find any solution.
I have also the same error with R2014a .Is there any solution ?
So, has this question ever been resolved? I have the same problem and looking for a resolution.

Sign in to comment.

Answers (2)

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 MATLAB in Help Center and File Exchange

Products

Asked:

on 4 Aug 2014

Answered:

on 18 Jul 2018

Community Treasure Hunt

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

Start Hunting!