How to write a structure field to Excel?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Adam Danz
am 1 Mai 2020
vals = {s(1:end).name};
5 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!