I am looking for a method to write data to various cells of Excel sheet using a for loop.for example ==>data =[1 2 3 4 5];xlswrite('F:\Test Data\example.xlsx',menu,'data','a2');above writes contents of "data" to cell a2.Is there a way to wirite contents of data to various cells using a for loop.Like data(1) to cell(1,1) of excel.data(2) to cells(1,3)data(3) to cells(1,5)....