End-of-file status (logical)
returns a logical value indicating that the
status = isDone(
videoFReader , has reached the end of the multimedia file after
PlayCount number of times. After the
object plays the file the number of times set by the
PlayCount property, it sets the status to
Load the video using a video reader object.
videoFReader = vision.VideoFileReader('ecolicells.avi');
Create a video player object to play the video file.
videoPlayer = vision.VideoPlayer;
Use a while loop to read and play the video frames. Pause for 0.1 seconds after displaying each frame.
while ~isDone(videoFReader) videoFrame = videoFReader(); videoPlayer(videoFrame); pause(0.1) end
Release the objects.
status— Status of reader file
Status of reader file, returned as