How to save timetable as txt file?

8 vues (au cours des 30 derniers jours)
Vishnu Dhakad
Vishnu Dhakad le 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

Réponses (1)

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

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by