how to display video input

2 次查看(过去 30 天)
DSB
DSB 2017-4-20
编辑: DSB 2017-4-20
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by