Trying to install MATLAB Support Package for USB Webcams

16 次查看(过去 30 天)
I am trying to install the MATLAB Support Package for USB Webcams in MATLAB version 9.0.0.307022 (R2016a) on a Windows laptop. I have tried to download it both directly from the command window, and from: https://www.mathworks.com/matlabcentral/fileexchange/45182-matlab-support-package-for-usb-webcams
-
I go through the installation process and in the end it fails and gives the error: "A required support package (USB Webcams) is missing." Well duh! That's what I'm trying to install!
-
I tried googling the issue to see if anyone else had encountered this before, and found nothing. Did the same on the MATLAB community answer page, with the same results... Please help!
  1 个评论
Walter Roberson
Walter Roberson 2018-3-2
Mathworks is having some difficulty serving some of the support packages recently and is working on a correction. I do not know if that package is affected.

请先登录,再进行评论。

采纳的回答

Tony Mohan Varghese
Try a clean uninstallation of the support package and reinstall it again.
1. Open MATLAB and choose the drop-down menu for "Add-Ons", followed by the "Get Hardware Support Packages" option. In the Support Package Installer choose the "Uninstall" radio button, then click "Next". Follow the remaining menus to uninstall the desired Support Package.
2. Navigate to the following folder on your computer and delete the contents you find there:
Windows = C:\MATLAB\SupportPackage\R20XXx\
Mac = /Users/<username>/Documents/MATLAB/SupportPackages/R20XXx/
Linux = /home/<username>/Documents/MATLAB/SupportPackages/R20XXx/
3. Open the 'Downloads' folder on your computer, then navigate to \MathWorks\SupportPackages\R20XXx\. Delete the contents of the "R20XXx" folder.
4. Open MATLAB again and run the following commands:
>>restoredefaultpath
>>savepath
5. Run the Support Package installer again and re-install your Support Package now.
If the error persists, please provide the complete error message or screenshot of the error.
  1 个评论
Kevin
Kevin 2018-3-30
I resolved the problem. I downloaded the 2018a version of MATLAB and tried again. It worked without issue. I will mark your answer as accepted to direct others who may encounter the issue, even though I didn't use your solution.

请先登录,再进行评论。

更多回答(2 个)

xxx xx
xxx xx 2018-3-9
same issue.. any updates?
  1 个评论
Kevin
Kevin 2018-3-30
Try again after installing a newer version of MATLAB if possible. Otherwise see Tony's answer.

请先登录,再进行评论。


Rajat Mehta
Rajat Mehta 2020-8-20
I will tell you a simple solution.
First, go to get 'Add ons'. From that list add the webcam add on and save it. after that try installing the hardware package of webcam. it will read the file that has been downloaded and BOOM, you are able to successfully install the hardware package of WEBCAM.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by