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

19 ビュー (過去 30 日間)
YK_Valid
YK_Valid 2022 年 8 月 4 日
コメント済み: Walter Roberson 2022 年 8 月 4 日
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 Center および File ExchangeStructures についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by