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.

Antworten (1)

Ken Atwell
Ken Atwell am 17 Aug. 2013

0 Stimmen

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

Diese Frage ist geschlossen.

Tags

Gefragt:

am 16 Aug. 2013

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by