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

1 view (last 30 days)
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

dpb
dpb on 2 May 2018
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
Ihtisham Khan
Ihtisham Khan on 3 May 2018
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)

Community Treasure Hunt

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

Start Hunting!