Video input in GUI with mac

I'm trying to open the camera to take the input video but it displays a white window with a red cross
Here's my code:
% vid=videoinput('macvideo',1); imaqhwinfo(vid);
preview(vid);

Respuestas (1)

Sudarshan Kolar
Sudarshan Kolar el 24 de Abr. de 2017

1 voto

Hello DSB,
Disabling the firewall should help you fix the issue.
Sudarshan

Preguntada:

DSB
el 22 de Abr. de 2017

Respondida:

el 24 de Abr. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by