ファイルの名前の作成について
显示 更早的评论
次のようなscriptでファイルの名前を作りたいですが、結果はうまく出ていていなかったです。
例えばどうM_m9_r9_thr0.001というような名前が得られますでしょうか。
r1=[6 6 9 9];
r2=[6 9 6 9];
thr=[0.05 0.01 0.001];
thrname={'0.05' '0.01' '0.001'};
voi_name={
'M'...
};
for h=1:length(subject)
for j=1:length(thr)
for u=1:length(r1)
for v=1:length(voi_name)
for s=1:numsess
name = [voi_name{v} '_m' num2str(r1(u)) '_r' num2str(r2(u)) '_thr' thrname(j)];
end
end
end
end
end
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 時系列オブジェクト 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!