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

回答(1 个)

Sudarshan Kolar
Sudarshan Kolar 2017-4-24

1 个投票

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

提问:

DSB
2017-4-22

Community Treasure Hunt

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

Start Hunting!

Translated by