How to copy data of one text file to another text file in matlab.

7 Ansichten (letzte 30 Tage)
priyanka
priyanka am 15 Mai 2015
Kommentiert: Joseph Cheng am 15 Mai 2015
I need to copy data (string, space and special characters are included) of one text (.txt) file into another text (.txt) file.

Antworten (1)

Star Strider
Star Strider am 15 Mai 2015
Use the copyfile function.
  1 Kommentar
Joseph Cheng
Joseph Cheng am 15 Mai 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.

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by