How to save timetable as txt file?
9 views (last 30 days)
Show older comments
Hello
I have timetable (TT) .
I want to save as a text file in my folder.
I have tried following code but I got error.
>>writetimetable(TT,'TT.txt','Delimiter','\t')
type 'TT.txt'
'Undefined function or variable 'writetimetable'.
.mat file attached
Thank You
0 Comments
Answers (1)
Walter Roberson
on 16 Nov 2019
https://www.mathworks.com/help/matlab/ref/writetimetable.html indicates it was introduced in R2019a. You either need to upgrade or you need to find another way of saving it. For example you could timetable2table() and writetable()
0 Comments
See Also
Categories
Find more on Tables 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!