edit txt file but save previous data
Mostrar comentarios más antiguos
helo guys
I generated a table , wrote in a txt file, and when I run again my code I will choose other file, it will write a new table... I want add this table in that same txt file which was the information of first table.
I did this at the end of program;
fid=fopen('dataFULL.txt','a+');
writetable(T,'dataFULL.txt','Delimiter',',');
fclose(fid);
when I run my code twice in order to choose other file... it is rewriting my txt file and doesn't save the previous data :((((((((((
Guys... any idea how can I do this?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Text Files en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!