how to display video input

3 ビュー (過去 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