Merge Csv files.
32 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi i have 35 csv files of the same structure that i want to merge all in one csv table.
what is the equivalent command for that?
Thank you
0 commentaires
Réponses (1)
KSSV
le 24 Mai 2019
csvfiles = dir('*.csv') ;
N = length(csvfiles) ;
iwant = cell(N,1) ;
for i = 1:N
iwant{i} = xlsread(csvfiles(i).name) ;
end
iwant = cell2mat(iwant) ;
0 commentaires
Voir également
Catégories
En savoir plus sur Database Toolbox 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!