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

조회 수: 7 (최근 30일)
이 질문에 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?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2024년 10월 28일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by