how to display video input

2 views (last 30 days)
DSB
DSB on 20 Apr 2017
Edited: DSB on 20 Apr 2017
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);

Answers (0)

Community Treasure Hunt

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

Start Hunting!