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.

Réponses (1)

Ken Atwell
Ken Atwell le 17 Août 2013

0 votes

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

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by