How to save timetable as txt file?

19 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by