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 commentaire

Tauqeer Ahmad
Tauqeer Ahmad le 12 Fév 2024
latest command is writematrix
writematrix(matix-to-be-saved,'path-to-file.xlsx')

Connectez-vous pour commenter.

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 15 Août 2016

21 votes

xlswrite('filename.xlsx',yourmatrix)

5 commentaires

Fateme Jalali
Fateme Jalali le 15 Août 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 le 15 Août 2016
Modifié(e) : Azzi Abdelmalek le 15 Août 2016
Then, you have to tell us what kind of matrix you are using, and post your code
Jyotiranjan Sahoo
Jyotiranjan Sahoo le 3 Déc 2018
Thanks Azzi.
Arno RICOU
Arno RICOU le 24 Mai 2019
Thanks Azzi, really helpful !
Min Wang
Min Wang le 4 Sep 2020
thanks

Connectez-vous pour commenter.

Commenté :

le 12 Fév 2024

Community Treasure Hunt

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

Start Hunting!

Translated by