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 日

回答済み:

2017 年 4 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by