how to display video input

i'm trying to display real-time video in gui it doesn't display the camera is working but display nothing
Here's my code
handles.output = hObject;
axes(handles.axes1);
vid=videoinput('macvideo',1);
imaqhwinfo(vid);
preview(vid);

回答 (0 件)

質問済み:

DSB
2017 年 4 月 20 日

編集済み:

DSB
2017 年 4 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by