regarding xlswrite function ,please help

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

Asked:

on 16 Aug 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!