How to export struct with many substruct into excel?

조회 수: 29 (최근 30일)
Seong Moon
Seong Moon 2020년 11월 23일
편집: Prabhanjan Mentla 2020년 11월 26일
Hello,
I have a question with how to import struct with sub structs matfile into excel.
I tried struct2cell and others, however I am having some difficulties.
  1. WIth in the 'FA.parameter' struct there are
2. there are 4parameters 'TZ1','TZ2','TZ3','TZ4' struct
3. Within each TZ1,2,3,4 there are 15 values (f1...f15) I would like to import to the EXCEL
Would someone please help me to transform this into excel format?
Thank you.

채택된 답변

Prabhanjan Mentla
Prabhanjan Mentla 2020년 11월 26일
편집: Prabhanjan Mentla 2020년 11월 26일
Hi,
The ideal way is to reach the internal structure and loop through the values and save them in a excel file.
This link1 and link2 helps you to achieve the above task and modify as per requirements.
Hope this helps.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by