Info

この質問は閉じられています。 編集または回答するには再度開いてください。

xlswrite overwriting issue!!

1 回表示 (過去 30 日間)
Ben
Ben 2017 年 3 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi everyone,
I've created an automated detection image processing code, but have run into some trouble when attempting to export the data. I'm using xlswrite and running on a mac, so the data just outputs to a CSV file (which is totally fine). My function runs a loop in order to analyze a number of images in a row, however, after each image is completed, the corresponding data overwrites the previous data from the previous image. Is there a way to simply append the data from each new image onto the previous dataset? (I.E. A single column where the new data simply appends to the next empty row in the column until the loop ends). Running MATLAB2015b (MAC).
My current writing method looks like this (and is all nested within the image reading loop);
filename = 'filename.xlsx'; xlswrite(filename, DATA)

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by