Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
priyanka
priyanka el 15 de Mayo de 2015
Comentada: Joseph Cheng el 15 de Mayo de 2015
I need to copy data (string, space and special characters are included) of one text (.txt) file into another text (.txt) file.

Respuestas (1)

Star Strider
Star Strider el 15 de Mayo de 2015
Use the copyfile function.
  1 comentario
Joseph Cheng
Joseph Cheng el 15 de Mayo de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre String Parsing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by