I'm using this code but the multimedia characteristics from avi files are not showed and Matlab send me this error after run the program: ??? ??? Index exceeds matrix dimensions What I want is to obtain characteristics from audio and video from this files but I need a loop because there are too many files
files= dir('*.avi');numfiles=length(files);mydata= cell(numfiles,1);info=cell(numfiles,1);for j=1:numfilesinfo{j}=mmfileinfo(files(j).name);audio=info(j).Audiovideo=info(j).Videoendfor k=1:numfilesmydata{k}=importdata(files(k).name);end
Best Answer