Can xlswrite be used to append information

9 views (last 30 days)
Wanting to write data to excel into a file that will be used over multiple iterations of code. Is there a way to use append to get the data to go into the excel file automatically so that the row numbers in the matlab code don't have to be changed? I'm writing this for people who have no clue how to use matlab, so it needs to be automated somehow, I'm just not sure how.

Accepted Answer

Jan
Jan on 22 Jan 2019
Edited: Jan on 22 Jan 2019
You can import the data from te existing Excel file, determine the size, and insert the new data at the required location. You find some tools in the File Exchange to convert the index to the Excel range like "A2".
  1 Comment
Daelyn Greene
Daelyn Greene on 22 Jan 2019
Huh. That is a really good idea. Didn’t think of doing it that way. Thanks for the help!

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!