struct to excel data saving
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mudasser Seraj
le 6 Fév 2018
Commenté : Caoimhe Madine
le 2 Avr 2020
Hi, I have a 15x3x5 struct with 12 fields. I want to save all the data inside the structure in excel with one sheet for each field. How can I do that?
1 commentaire
Fangjun Jiang
le 6 Fév 2018
Your array size is 15x3x5. There is no way in Excel that can represent this three dimensional size. I would suggest you making it 225 (the number of structures) by 12 (the number of fields) array. You can write this array in one Excel sheet.
Réponse acceptée
Plus de réponses (1)
Raj Sodhi
le 29 Sep 2019
I found that my struct had sub-structs and those structs had arrays within those elements. So I wrote a little better solution that might be worth sharing. See attached function.
Yours,
Raj
1 commentaire
Caoimhe Madine
le 2 Avr 2020
Would you be able to give some guidance on where in this code you input your own files and names. It is not quite clear to me
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!