How to export struct with many substruct into excel?

29 visualizaciones (últimos 30 días)
Seong Moon
Seong Moon el 23 de Nov. de 2020
Editada: Prabhanjan Mentla el 26 de Nov. de 2020
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.

Respuesta aceptada

Prabhanjan Mentla
Prabhanjan Mentla el 26 de Nov. de 2020
Editada: Prabhanjan Mentla el 26 de Nov. de 2020
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.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by