How to export struct with many substruct into excel?

6 vues (au cours des 30 derniers jours)
Seong Moon
Seong Moon le 23 Nov 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.

Réponse acceptée

Prabhanjan Mentla
Prabhanjan Mentla le 26 Nov 2020
Modifié(e) : Prabhanjan Mentla le 26 Nov 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.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by