Saving Table in Excel while in loop
2 views (last 30 days)
Im running a program pertaining to EEG data. I have a table with one row and while the loop is running i want the output to be saves in excel. i used the following code.
filename = 'testdata.xls'
writetable(AllMI,'testdata.xls','Sheet',1,'Range', ['A' num2str(n)],'WriteVariableNames',false)
the problem is that both the rows are showing the same output.
Please help me with this.