How to export a matrix from MATLAB to Excel?

3 次查看(过去 30 天)
Hey everybody,
how can I export matrices from MATLAB to excel? Can I copy a matrix into a text file and than paste this in Excel?
Cheers, Ruben

采纳的回答

Yoav Livneh
Yoav Livneh 2011-5-3
There is a function called xlswrite which does just that.
  2 个评论
Dyuman Joshi
Dyuman Joshi 2023-10-14
For R2019a or later versions, use the more robust writematrix
Another robust option is converting array to a table and using writetable

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by