필터 지우기
필터 지우기

How can I choose selected field in a 1X1 struct and export to excel?

조회 수: 3 (최근 30일)
Meng Li Gan
Meng Li Gan 2019년 1월 3일
편집: Meng Li Gan 2019년 3월 12일
I have a 1x1 struct with 18 fields with different size. How can I choose the selected field in the struct and export to excel? I had tried to used struct2table, but it is failed since the fields inside the struct is not with same size.
for example,
mystruct is 1x1 size, and inside my struct it contained 18 fields:
fieldname1: 77x10 cell
fieldname2: 1x20 double
fieldname3: 1x20 double
fieldname4: 1x20 double
fieldname5: 1x20 double
....
how can i export only field 1 and field 2 to excel?

답변 (2개)

madhan ravi
madhan ravi 2019년 1월 3일

Meng Li Gan
Meng Li Gan 2019년 3월 12일
편집: Meng Li Gan 2019년 3월 12일

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by