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 Commento

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

Accedi per commentare.

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 15 Ago 2016
xlswrite('filename.xlsx',yourmatrix)

5 Commenti

Fateme Jalali
Fateme Jalali il 15 Ago 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 il 15 Ago 2016
Modificato: Azzi Abdelmalek il 15 Ago 2016
Then, you have to tell us what kind of matrix you are using, and post your code
Thanks Azzi.
Arno RICOU
Arno RICOU il 24 Mag 2019
Thanks Azzi, really helpful !
Min Wang
Min Wang il 4 Set 2020
thanks

Accedi per commentare.

Richiesto:

il 15 Ago 2016

Commentato:

il 12 Feb 2024

Community Treasure Hunt

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

Start Hunting!

Translated by