How to write a structure field to Excel?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all
I have a structure that one of its fields has n members, and I want to write them to an Excel in one column in rows. trying to convert this field to array,
doing :
vals = [s(1:end).name]
instead of giving me :
vals= ['a', 'b', 'c', ..]
gave:
vals= ['abcde,...']
how do I correct it ?
0 Commenti
Risposta accettata
Adam Danz
il 1 Mag 2020
vals = {s(1:end).name};
5 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Spreadsheets in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!