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 comentario

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

Iniciar sesión para comentar.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 15 de Ag. de 2016

21 votos

xlswrite('filename.xlsx',yourmatrix)

5 comentarios

Fateme Jalali
Fateme Jalali el 15 de Ag. de 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 el 15 de Ag. de 2016
Editada: Azzi Abdelmalek el 15 de Ag. de 2016
Then, you have to tell us what kind of matrix you are using, and post your code
Jyotiranjan Sahoo
Jyotiranjan Sahoo el 3 de Dic. de 2018
Thanks Azzi.
Arno RICOU
Arno RICOU el 24 de Mayo de 2019
Thanks Azzi, really helpful !
Min Wang
Min Wang el 4 de Sept. de 2020
thanks

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 15 de Ag. de 2016

Comentada:

el 12 de Feb. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by