Hello,
I have a .mat file from a source containg structures with variable names as A,B,C etc.
I'm loading those to my workspace,creating a array for variable names and want to access the structures in a for loop. Error Dot indexing is not supported for variables of this type.
—————————————————————————-
Structure names={'A','B','C'}
for i=1:3
output= Structure names(i).fieldname
end
Best Answer