v = videoinput ( "winvideo" , "1" , "MJPG_640x480" ) ;
v.SelectedSourceName = "input1";
src_v = getselectedsource(v);
get(src_v)
preview(v)
frame = getsnapshot(v)
Error using imaqdevice/getsnapshot
A timeout occurred during GETSNAPSHOT.

댓글 수: 1

Amir Azadeh Ranjbar
Amir Azadeh Ranjbar 2022년 9월 7일
I can not execute these commands
And I get the following error message

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

2022년 9월 7일

댓글:

2022년 9월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by