folders=dir('文件夹地址'); folders={folders.name}; folders=setdiff(folders,{'.','..'})'; num=length(folders); utente = 0; for j=1:n utente=utente+1; tline = folders{j}; path_utente= ['文件夹地址',tline,'\']; photo_list = dir([path_utente,'\*.文件后缀名']); currentRoi= imread([path_utente photo_list(i).name]); %处理文件 end
matllab 按照文件夹处理文件
猜你喜欢
转载自www.cnblogs.com/zhuguanhao/p/11578399.html
今日推荐
周排行