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

23 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2022-8-4
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 ?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by