How can I use xlswrite in a nested forloop without overwriting?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Daniel Allkenmach
le 3 Fév 2016
Commenté : Daniel Allkenmach
le 3 Fév 2016
HOw is i possible? I am using an algorithmn that is supposed to plot 713 bits of data into an excel data shee. Each time it overwrites. How can I do it so it doesn't overwrite? I am also using a nested for loop
0 commentaires
Réponse acceptée
Image Analyst
le 3 Fév 2016
Keep track of what row you want and set it in the arg list
for k = 1 : 3
cellReference = sprintf('A%d', k); % or whatever...
xlswrite(xlFileName, data, cellReference);
end
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!