infinity video frames acquired

while(vid.FramesAcquired<=200)
what is the code to make sure the frame is looping until infinity? and will stop when we close it. im sorry for the question, im new in matlab.

Answers (1)

Assuming vid is a VideoReader then:
vid.hasFrame

Asked:

MSP
on 17 Oct 2017

Answered:

on 17 Oct 2017

Community Treasure Hunt

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

Start Hunting!