save a matrix to excel

hello,I have matrix of numbers. size of the matrix is 360*200. I want to know how I can save this matrix in an excel file.thanks

1 件のコメント

Tauqeer Ahmad
Tauqeer Ahmad 2024 年 2 月 12 日
latest command is writematrix
writematrix(matix-to-be-saved,'path-to-file.xlsx')

サインインしてコメントする。

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 15 日

21 投票

xlswrite('filename.xlsx',yourmatrix)

5 件のコメント

Fateme Jalali
Fateme Jalali 2016 年 8 月 15 日
thank you. when I use xlswrite('filename.xlsx',yourmatrix);this error happens:Struct contents reference from a non-struct array object.
Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 15 日
編集済み: Azzi Abdelmalek 2016 年 8 月 15 日
Then, you have to tell us what kind of matrix you are using, and post your code
Jyotiranjan Sahoo
Jyotiranjan Sahoo 2018 年 12 月 3 日
Thanks Azzi.
Arno RICOU
Arno RICOU 2019 年 5 月 24 日
Thanks Azzi, really helpful !
Min Wang
Min Wang 2020 年 9 月 4 日
thanks

サインインしてコメントする。

質問済み:

2016 年 8 月 15 日

コメント済み:

2024 年 2 月 12 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by