Merging text files into one
    4 ビュー (過去 30 日間)
  
       古いコメントを表示
    
I want to merge the content of 7 text files into a single file. I'm using
system('copy 090615.txt+090616.txt+090617.txt+090618.txt+090619.txt+090619.txt+090620.txt+090621.txt MyBigFat.txt');
Is it possible to use a for loop to do it? & how ? please. Thanks
0 件のコメント
回答 (1 件)
  Azzi Abdelmalek
      
      
 2016 年 3 月 18 日
        s=[ 'copy ' sprintf('0906%d.txt+',15:22)]
s(end)=[]
system(s)
2 件のコメント
参考
カテゴリ
				Help Center および File Exchange で MATLAB Compiler についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

