Copy data from Structure to Excel
조회 수: 11 (최근 30일)
이전 댓글 표시
Hello,
I have some structure that is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1039395/image.png)
In each entry there is another structure:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1039400/image.png)
How can i copy these items into excel? When i try to copy it does does copy the elements in the vectors, but "1x11 double" (for the example of line 15).
I cannot use the writestruct because of the Matlab version (which i cannot update), do you have any other ideas?
Thank you! Kind regards
댓글 수: 0
답변 (2개)
Abhijeet
2022년 6월 26일
Hi Madalena João ,
Please refer to this similar question that is already answered and let me know if you have further doubts.
댓글 수: 0
Jai Khurana
2022년 6월 29일
I understand that you want to copy your structure in MATLAB to an Excel file.
An example of how these functions can be used together is as follows:-
writetable(struct2table(yourstructure), 'someexcelfile.xlsx
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!