标签:lin for read 文件夹 diff end 处理 current list
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
标签:lin for read 文件夹 diff end 处理 current list
原文地址:https://www.cnblogs.com/zhuguanhao/p/11578399.html