Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

xlswrite overwriting issue!!

2 vues (au cours des 30 derniers jours)
Ben
Ben le 2 Mar 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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)

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by