Effacer les filtres
Effacer les filtres

Command "cam = webcam" not working with MATLAB Support Package for USB Webcam

9 vues (au cours des 30 derniers jours)
Thomas Dutrannois
Thomas Dutrannois le 14 Juin 2018
Commenté : smsinks le 22 Mar 2020
I'm trying to use the MATLAB Support Package for USB Webcam. When i run the command "webcamlist" it shows me my webcam: 'HP Wide Vision HD'. But when I try this command : "cam = webcam" it gives me this error in MATLAB:
Warning: The following error was caught while executing 'matlab.webcam.internal.WebcamController' class destructor:
Dot indexing is not supported for variables of this type.
Error in matlab.webcam.internal.WebcamController/delete
Error in matlab.webcam.internal.WebcamController
Error in matlab.webcam.internal.webcamDesktop
Error in webcam (line 95)
obj.webcamImpl = matlab.webcam.internal.webcamDesktop(varargin{:});
> In matlab.webcam.internal.WebcamController
In matlab.webcam.internal.webcamDesktop
In webcam (line 95)
Error using webcam (line 116)
Error initializing media source.
I'm using MATLAB 2018a. Could someone help me ?
  4 commentaires
Thomas Carter
Thomas Carter le 11 Mar 2019
Same problem here.
smsinks
smsinks le 22 Mar 2020
Same problem here

Connectez-vous pour commenter.

Réponses (1)

Hai Iluz
Hai Iluz le 11 Avr 2019
You need allow the webcam in your PC
  1 commentaire
Walter Roberson
Walter Roberson le 11 Avr 2019
What is the process for allowing the webcam in your PC? Is it different than installing the support package for USB Webcam ?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by