How to copy data of one text file to another text file in matlab.
2 views (last 30 days)
Show older comments
I need to copy data (string, space and special characters are included) of one text (.txt) file into another text (.txt) file.
0 Comments
Answers (1)
Star Strider
on 15 May 2015
1 Comment
Joseph Cheng
on 15 May 2015
if you do not want to make just another copy of the file and insert it into another txt file. read up on fopen, fgetl, fwrite, fprintf, and see which ones suit your needs.
See Also
Categories
Find more on Low-Level File I/O 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!