Subscripted assignment dimension mismatch since iteration 9

3 vues (au cours des 30 derniers jours)
ignacio bobadilla tapia
ignacio bobadilla tapia le 20 Mai 2021
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

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by