How to save timetable as txt file?

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

Answers (1)

Walter Roberson
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()

Products

Release

R2018a

Asked:

on 16 Nov 2019

Answered:

on 16 Nov 2019

Community Treasure Hunt

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

Start Hunting!