Convert a struct with multiple fields into spreadsheet
Afficher commentaires plus anciens
Hi,
I had the struct array seen below and I want to export it in a manner similar to the spreadsheet in the attached picture please. One spreadsheet for each sulci_? variable in the last two lines. You can notice that the list_sulc (seven variables) came out as variable without the lh. or rh suffix seen in the spreadsheet (are actually 14). Thanks.
struct with fields:
options: [1×1 struct]
list_subject: {'103515' '103818'}
list_sulc: {'po' 'sps' 'pocs_s' 'pocs_i' 'ips_v' 'ips_h' 'mcgr'}
sulci_width: [2×14 double]
sulci_depth: [2×14 double]
Réponses (1)
KSSV
le 27 Oct 2022
1 vote
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!