Hi everyone,
I'm using TelemacTools with Matlab to read my result file. I want to import all my results at each time step in Matlab, so I use telheadr.m to read Telemac results file header and after that I use a loop "for" to extract at each time step my file result :
Fichier='./my_resu';
info= telheadr(Fichier);
nb_stp=info.NSTEPS;
for n=1:nb_stp
Data{n}=telstepr(info,n);
end
But I've got a problem with the loop, it creates the Data structure but it is fill in with 0 like it didn't read the file. If I don't use a loop and choose just one time step (the 10th for example):
there is no problem, my results are correct.
So I think it's in the loop but I can't identify my bug, is anyone already have this king of error ? Or an idea of my mistake ?
Thanks,
Alexa