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 Comments

per isakson
per isakson on 21 Feb 2015
Edited: per isakson on 21 Feb 2015
moved to an answer
I would have given that as an answer, because 'why reinvent the wheel?'

Sign in to comment.

Answers (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). &nbsp copy *.txt newfile.txt
  • and more

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 21 Feb 2015

Edited:

on 21 Feb 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!