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

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 comentario

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 ?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Preguntada:

el 4 de Ag. de 2022

Comentada:

el 4 de Ag. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by