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);

Antworten (1)

Sudarshan Kolar
Sudarshan Kolar am 24 Apr. 2017

1 Stimme

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

Gefragt:

DSB
am 22 Apr. 2017

Beantwortet:

am 24 Apr. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by