Suppose I have :
start = 1finish = 10 for i = start:finish my_cell = sprintf( 'K%s',num2str(i)); xlswrite('exceldoc',filename(i),'data',my_cell); end
I want to insert the first data point at K2 in excel, but I cannot because 'K%s' begins inserting at K1. Subsequently, if I were to use 'K02%s' it would begin at cell K21.
Any help would be fantastic
Best Answer