Webcam and other Support packages are not working in MATLAB 2014b.

5 views (last 30 days)
I used webcam in Matlab 2014b to acquire images. But today when I used webcam in matlab script, it shows an error
Error using webcam (line 13) MATLAB Support Package for Webcams has not been installed. Open Support Package Installer to install the Webcam Support Package._
I already installed Webcam Support Package and its location is C:\MATLAB\SupportPackages\R2014b\usbwebcams.
To change my support directory I used matlabshared.supportpkg.getSupportPackageRoot but it shows error
Undefined variable "matlabshared" or class "matlabshared.supportpkg.getSupportPackageRoot".
When I tried to reinstall webcam support package, it shows error that already you have R2014b\usbwebcams first make empty that. I have many other support packages and so don't want to reinstall every package again. How should I solve this problem?

Accepted Answer

Walter Roberson
Walter Roberson on 17 Jan 2018
You appear to have a corrupted list of add-ons. In R2014b, the only way to fix that was to uninstall them all, delete the add-ons directory, and re-install the ones you wanted.
cr on 9 Nov 2020
I have the same issue with genicam drivers for usb3 cameras in R2017a. Even after installing them imaqhwinfo shows no installed adaptors. I uninstalled the package from add-on explorer and reinstalled multiple times, in vain. The same drivers work in R2018b on the same pc. They even work fine in R2017a on another PC with exact same configuration. Any ideas what more to try?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!