Processing 'fopen' and save() on files _1, _2, _3 etc. at once
古いコメントを表示
Hey.
I have created a matlab file that starts with: fid = fopen('TimeHistory_1.dat', 'r');
This opens a dat file and processes it with a long list of functions. At the end i've put:
save(['TimeHistory_1.txt'], 'Data_new', '-ASCII')
Which saves the processed data to a txt file i am using for other purposes.
My problem is that i have 100-200 files called _1, _2, _3 and so forth. Is there any way to create a function that will process all these 100'ish files, without me manually having to inputting the _1, running the file, inputting _2 and completing this process over again.
If it make the job easier, the M.files are here:
回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Large Files and Big Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!