how to convert 10000 txt files 1 data file
Show older comments
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 Comments
per isakson
on 21 Feb 2015
Edited: per isakson
on 21 Feb 2015
moved to an answer
Guillaume
on 21 Feb 2015
I would have given that as an answer, because 'why reinvent the wheel?'
Answers (1)
per isakson
on 21 Feb 2015
1 vote
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
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!