Subscripted assignment dimension mismatch since iteration 9

1 view (last 30 days)
Along with saying hello and waiting for your help. I was going through folder by folder to store a specific file, I have tried to save it in a large matrix, but when I start to iterate from 9 in the for loop, it throws me an error, I copy the code that I have in the meantime.
close all, clear all, clc
a='D:\HP CIVIL\serie de tiempo\escenarios_s6_50samples';
for i=1:9
c=sprintf('SanAntonio_S60%d',i);
e(:,:,i)=load(fullfile(a,c,'work','pt1_zuv.dat'));
end

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!