how to convert 10000 txt files 1 data file
显示 更早的评论
Hi.
I have thousands of training sets which are 32*32 binary(0,1) matrix text files. I need to convert this to 1 data file.
Could someone please help me out?
Thank you very much in advance
2 个评论
per isakson
2015-2-21
编辑:per isakson
2015-2-21
moved to an answer
Guillaume
2015-2-21
I would have given that as an answer, because 'why reinvent the wheel?'
回答(1 个)
per isakson
2015-2-21
1 个投票
Google says:
- TXTcollector - Free Text File Merging Tool
- [If on Windows] type in the below command to merge all TXT files in the current directory into the file named newfile.txt (any name could be used).   copy *.txt newfile.txt
- and more
类别
在 帮助中心 和 File Exchange 中查找有关 Nearest Neighbors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!