複数のtableデータの結合
29 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
複数のcsvファイルを結合する際に
事前割り当ての警告を回避するコードの書き方があれば教えていただきたいです
(あらかじめ全ファイルの総行数を把握する方法等)
行数は同一ではないものとしています
よろしくお願いします
fn=dir('*.csv')
l=length(fn)
T=[]
for i=1:l
Tn = readtable(fn(l).name);
T=[T ;Tn]%事前割り当てがないため警告
end
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!