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

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)

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

Categories

Tags

Asked:

on 30 Jun 2014

Answered:

on 7 Jul 2014

Community Treasure Hunt

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

Start Hunting!