Effacer les filtres
Effacer les filtres

how to convert struct with multiple fields (typed struct) into timeseries

23 vues (au cours des 30 derniers jours)
YK_Valid
YK_Valid le 4 Août 2022
Commenté : Walter Roberson le 4 Août 2022
Hi,
do you know if there is any commande to allow to convert a struct that contain fields typed struct into timeseries, ?
I am trying to use timeseries function, but i don't see any way to convert the whole structure by looping it.
br
  1 commentaire
Walter Roberson
Walter Roberson le 4 Août 2022
Do you need timeseries specifically? Or could you convert to timetable objects?
Perhaps struct2table followed by table2timetable ?
Anyhow getting back to your original question: what if you use structfun ?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by