%select all .mat files
oar = dir('*oar.mat'); n = {oar.name};
%loop through files
for l=1:length(oar);
load pat_oar(l) %<---this is the .mat file with variable filename
clear ...
end
ある .mat ファイルを次々と読み込む Matlab スクリプトを作成するにはどうすればよいですか...
%select all .mat files
oar = dir('*oar.mat'); n = {oar.name};
%loop through files
for l=1:length(oar);
load pat_oar(l) %<---this is the .mat file with variable filename
clear ...
end
ある .mat ファイルを次々と読み込む Matlab スクリプトを作成するにはどうすればよいですか...