I have a question regarding for loops. I have 10 textboxes that are named, text1_data, text2_data... text10_data.
What i want to do is to loop the thing so i don't have to write every single possible outcome by hand. (a should be able to be pretty big.)
i tried writing h=text{i}_data, but that did not work. Any ideas of what h should be equal to?
data=xlsread('nipmaterial.xlsx')
a=(get(materialpopup_data,'value'))-1
for i=1:10
h=text{i}_data;
set(h,'string',data(a,i))
end