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 Center および File ExchangeIntroduction 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