edit txt file but save previous data
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Text Files dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!