Can I save different variables inside of a for loop?
23 views (last 30 days)
Jaime De La Mota Sanchis on 10 Aug 2021
I am working with a code in which 50 variables have to be saved. Each of them is a row of a matrix. I am trying to implement this as
element_of_the_ensemble=i;%de 1 a 50
I have based this attempt in this other question. Unfortunately, I obtain an error.
Error using save
Must be a text scalar.
Error in read_data (line 619)
So, it seems that my idea doesn't work.
Can someone please tell me if I can really automate this process?