필터 지우기
필터 지우기

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

조회 수: 23 (최근 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 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