How to append data to current row in an excel sheet???

Hi, I want to add data to an excel sheet that already contains data. I want to append data to current row but do not know how?
Any help would be much appreciated. Thanks.

 Accepted Answer

doc xlsread
doc xlswrite
You can read/write from/to any area in the file; probably the simplest to code is to read the row into memory, concatenate the new to it and then rewrite the whole row. Alternatives depend upon what you know a priori about what assumptions can make or how much have to do to determine where the next column really is...

2 Comments

You can read/write from/to any area in the file; probably the simplest to code is to read the row into memory, concatenate the new to it and then rewrite the whole row. (Copied)
As I am new to matlab, so kindly explain it in some detail. Thanks.

Sign in to comment.

More Answers (0)

Asked:

on 2 May 2018

Commented:

dpb
on 3 May 2018

Community Treasure Hunt

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

Start Hunting!