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 Kommentar

Tauqeer Ahmad
Tauqeer Ahmad am 12 Feb. 2024
latest command is writematrix
writematrix(matix-to-be-saved,'path-to-file.xlsx')

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 15 Aug. 2016

21 Stimmen

xlswrite('filename.xlsx',yourmatrix)

5 Kommentare

Fateme Jalali
Fateme Jalali am 15 Aug. 2016
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 am 15 Aug. 2016
Bearbeitet: Azzi Abdelmalek am 15 Aug. 2016
Then, you have to tell us what kind of matrix you are using, and post your code
Jyotiranjan Sahoo
Jyotiranjan Sahoo am 3 Dez. 2018
Thanks Azzi.
Arno RICOU
Arno RICOU am 24 Mai 2019
Thanks Azzi, really helpful !
Min Wang
Min Wang am 4 Sep. 2020
thanks

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 15 Aug. 2016

Kommentiert:

am 12 Feb. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by