Why am I getting an error regarding "webcammex.mexw64" when using the USB Webcam Support Package?

6 visualizzazioni (ultimi 30 giorni)
Questo/a domanda è stato/a segnalato/a da Walter Roberson

Executing "webcamlist" gives me the following error: "The specified module could not be found":

>> webcamlist
Invalid MEX-file
'C:\ProgramData\MATLAB\SupportPackages\RXXXXx\toolbox\matlab\webcam\supportpackages\webcammex.mexw64': The specified module could not be found.
When I go inside the directory mentioned in the error message, the MEX file is present. How do I fix the issue?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 28 Ott 2024
This error is frequently caused when running MATLAB on a Windows N edition. "N edition" means "no media". So you need to install the Windows "Media Feature Pack" as explained in the Microsoft article below:
If this does not resolve the issue or does not apply, there are a few troubleshooting steps to try:
  1. Try a clean reinstallation of support packages as explained here: https://uk.mathworks.com/matlabcentral/answers/318635-how-do-i-perform-a-clean-re-installation-of-a-support-package
  2. The modules within the support package rely on the Microsoft Visual C++ Redistributables. Try installing the latest versions for MSVC 2015, 2017, and 2019. Then restart your computer and try using "webcamlist" again.
  3. Try using "webcamlist" again after doing a clean install of MATLAB via the instructions found at the following link to run Dependency Analyzer:  https://www.mathworks.com/matlabcentral/answers/92362-how-do-i-determine-which-libraries-my-mex-file-or-stand-alone-application-requires

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by