How can I write excel file in MatLab
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have huge number of excel files. I have to collect certain data from each of the files and write all of them in a single excel file. How can I do it?
0 commentaires
Réponses (1)
Durgesh Naik
le 15 Juil 2015
filename = 'Book1_Test.xlsx'; A = {1 2 3 5 6 6 2 0.222 0.122 0.444}; B = {1 12 13 15 1 61 21}; sheet = 1; n = xlsread('Book1_Test.xlsx'); e = length(n); e = mat2str(e) xlRange = (['A' e+1])
xlswrite(filename,A',sheet,xlRange)
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!