www.gusucode.com > vision 源码程序 matlab案例代码 > vision/ReadBinaryVideoFileAndPlayBackOnScreenExample.m
%% Read Binary Video File and Play Back on Screen % %% % Create a binary file reader and video player object. % Copyright 2015 The MathWorks, Inc. hbfr = vision.BinaryFileReader(); hvp = vision.VideoPlayer; %% % Use the while loop to play the default video. while ~isDone(hbfr) y = step(hbfr); step(hvp, y); end %% % Close the input file and the video display. release(hbfr); release(hvp);