Filter löschen
Filter löschen

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

23 Ansichten (letzte 30 Tage)
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 Kommentar
Walter Roberson
Walter Roberson am 4 Aug. 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 ?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by