how to convert a struct with fields in to excel?
2 views (last 30 days)
Show older comments
Hello there,
I have a structure with different fields that I would like to convert into Excel use. I would love it to be all in one excell sheet if possible. I have tried many different functions such as xlswrite, cvswrite, writetable and non have worked for me. Your help is appriciated.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/670503/image.png)
5 Comments
Sayyed Ahmad
on 1 Jul 2021
your construct is multi dimensional and excel sheets are only 2D. you have break down your dimensions in 2D bevor you be able to export your data in an excel sheet.
Abbas Alali
on 1 Jul 2021
Thank you Sayyed for your reply. Would you be able to show me how I can transform these Multidimensional fields into 2D? Thanks
Answers (0)
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!