Hi,
(I tried to search on the forum and found many similar questions and answers, but none seems to be exactly the same as my question, so here we go…)
I have successfully loaded 32 sequential variables from a MAT file.
A_001, A_002, …, A_032
Each variable is an array of different length (1 x N). I want to manipulate these variables (e.g. plot all 32 of them), and I want to use a for loop to do this. How can I do this? I imagine things will be a lot easier to handle once I create a structure containing all of these variables, but I have no idea how to do that.
It looks like eval can help me do that, but many suggest not to use eval.
Many thanks in advance!
Hemmings
Best Answer