vid = videoinput​('winvideo​',1,vinfo.​SupportedF​ormats{'12​80*720'}); ?

3 views (last 30 days)
i m writing this function but there is an error coming as index exceeds matrix dimensions i couldnt understand how to solve this problem kindly help me in this matter

Answers (1)

Sanket Mishra
Sanket Mishra on 7 Jul 2014
Assuming you are using a format supported by the device, simply use 1280x720 instead of 1280*720 (replace * by x).

Tags

Community Treasure Hunt

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

Start Hunting!