Is it possible to append tables using writetable in the same text file?
33 views (last 30 days)
Show older comments
MathWorks Support Team
on 8 Apr 2022
Edited: MathWorks Support Team
on 8 Apr 2022
Is it possible to append tables using writetable in the same text file?
Accepted Answer
MathWorks Support Team
on 8 Apr 2022
Edited: MathWorks Support Team
on 8 Apr 2022
In MATLAB R2020a and later releases, you can use "writable" function with "WriteMode" option.Ex.)
writetable(T,'filename.txt','WriteMode','append')
This option can be used writecell, writetimetable and writematrix as well.
0 Comments
More Answers (0)
See Also
Categories
Find more on Text Files 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!