Info

This question is closed. Reopen it to edit or answer.

regarding xlswrite function ,please help

1 view (last 30 days)
Kirti Wanjale
Kirti Wanjale on 16 Aug 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
I want to write results in xls file , i am using xlswrite function, but when I run the same program with different input the earlier result is getting overwritten.I want result to be on next line.How to do? Please help.

Answers (1)

Ken Atwell
Ken Atwell on 17 Aug 2013
You can xlsread the existing sheet, append the new row, and then use xlswrite. Or, if you know the number of rows in the existing sheet, you can use the third argument to xlswrite to specify the range; see http://www.mathworks.com/help/matlab/ref/xlswrite.html#inputarg_xlRange

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!