Clear Filters
Clear Filters

Trying to install MATLAB Support Package for USB Webcams

16 views (last 30 days)
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 Comment
Walter Roberson
Walter Roberson on 2 Mar 2018
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.

Sign in to comment.

Accepted Answer

Tony Mohan Varghese
Tony Mohan Varghese on 22 Mar 2018
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 Comment
Kevin
Kevin on 30 Mar 2018
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.

Sign in to comment.

More Answers (2)

xxx xx
xxx xx on 9 Mar 2018
same issue.. any updates?
  1 Comment
Kevin
Kevin on 30 Mar 2018
Try again after installing a newer version of MATLAB if possible. Otherwise see Tony's answer.

Sign in to comment.


Rajat Mehta
Rajat Mehta on 20 Aug 2020
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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!