Clear Filters
Clear Filters

save a matrix to excel

319 views (last 30 days)
Fateme Jalali
Fateme Jalali on 15 Aug 2016
Commented: Tauqeer Ahmad on 12 Feb 2024
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 Comment
Tauqeer Ahmad
Tauqeer Ahmad on 12 Feb 2024
latest command is writematrix
writematrix(matix-to-be-saved,'path-to-file.xlsx')

Sign in to comment.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 15 Aug 2016
xlswrite('filename.xlsx',yourmatrix)
  5 Comments
Arno RICOU
Arno RICOU on 24 May 2019
Thanks Azzi, really helpful !
Min Wang
Min Wang on 4 Sep 2020
thanks

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!