Loading multiple files
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to load several files using a loop. The files are called:
SIMGAtheta1_0.mat
SIMGAtheta2_0.mat
SIMGAtheta3_0.mat
...
I do not understand why this is not working:
q=0;
for kk=1:10;
s = (['SIMGAtheta', num2str(kk), '_', num2str(q),';']);
load(s)
end
I am in the directory that the files are saved. Thanks!
Kyriacos
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!