Thank you a lot, guys, for your support!
Unfortunately, these mat files are generated by an external software system that run on a robot, so I cannot change the variables name.
I have something like this:
current_folder/folder1/test1.mat
current_folder/folder1/test2.mat
current_folder/folder1/test3.mat
current_folder/folder2/test1.mat
current_folder/folder2/test2.mat
current_folder/folder2/test3.mat
current_folder/folder3/test1.mat
current_folder/folder3/test2.mat
current_folder/folder3/test3.mat
..
and I run my matlab script from
current_folder
.do you think it is possible to automatize the loading of each mat file even in this case where there are different directories nested in the current directory?
I'm sorry if this is a stupid question, I'm not very used to Matlab, unfortunately.