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

Antworten (1)

KSSV
KSSV am 24 Mai 2019

0 Stimmen

csvfiles = dir('*.csv') ;
N = length(csvfiles) ;
iwant = cell(N,1) ;
for i = 1:N
iwant{i} = xlsread(csvfiles(i).name) ;
end
iwant = cell2mat(iwant) ;

Tags

Gefragt:

am 24 Mai 2019

Beantwortet:

am 24 Mai 2019

Community Treasure Hunt

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

Start Hunting!

Translated by