Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

xlswrite overwriting issue!!

조회 수: 2 (최근 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