How to save timetable as txt file?

8 views (last 30 days)
Vishnu Dhakad
Vishnu Dhakad on 16 Nov 2019
Answered: Walter Roberson on 16 Nov 2019
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()

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!