How to add webcam to simulink?

Hey; I wrote a code in matlab with webcam, and now I want to use it in simulink.
How can I add webcam block or something that work with my webcam? I try with matlab function and its doesnt work...

Réponses (1)

Walter Roberson
Walter Roberson le 6 Juin 2022
Modifié(e) : Walter Roberson le 6 Juin 2022

0 votes

You will need to install the support package for USB webcam first.

4 commentaires

Dekel Mashiach
Dekel Mashiach le 6 Juin 2022
Modifié(e) : Dekel Mashiach le 6 Juin 2022
The block (from video device) only recognizes me the webcam of the laptop, how can I make it also recognize an external webcam that I connected to usb?
Walter Roberson
Walter Roberson le 6 Juin 2022
Make sure you have the right support package.
You might require Image Acquisition Toolbox
https://www.mathworks.com/hardware-support/video-capture-device.html
Dekel Mashiach
Dekel Mashiach le 6 Juin 2022
They are right?
Walter Roberson
Walter Roberson le 6 Juin 2022
Those look ok.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by