s = dir (‘* .avi‘);
文件= {s.name};
为k = 1:元素个数(文件)
k v = VideoReader(文件{});
j = 0;
而%条件
% yourcodehere
结束
结束