Merging multiple csv files into one mat file
    2 ビュー (過去 30 日間)
  
       古いコメントを表示
    
I have multiple csv files (37 files). Every csv file has a column and it want to merge it into one mat file so that I get a mat file with 37 columns. How can I do that? 
0 件のコメント
採用された回答
  KSSV
      
      
 2019 年 4 月 18 日
        csvfiles = dir('*.csv') ; 
N = length(csvfiles) ; 
A = cell(N,1) ;
for i = 1:N
    A{i} = csvread(csvfiles(i).name)
end
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で Database Toolbox についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

