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.

Respuestas (1)

Ken Atwell
Ken Atwell el 17 de Ag. de 2013

0 votos

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

La pregunta está cerrada.

Etiquetas

Preguntada:

el 16 de Ag. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by