I have a basic syntax question regarding a for loop. I am trying to change the matrix(struct) name in a loop to copy values in another array using the same loop variable as follows:
I have struct matrices named from 'results1 to results16'. tstat is the field I am trying to extract from and write to tstat matrix.
I think the problem is with syntax.