Effacer les filtres
Effacer les filtres

How to export a matrix from MATLAB to Excel?

6 vues (au cours des 30 derniers jours)
Ruben Verkempynck
Ruben Verkempynck le 3 Mai 2011
Commenté : Dyuman Joshi le 14 Oct 2023
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

Réponse acceptée

Yoav Livneh
Yoav Livneh le 3 Mai 2011
There is a function called xlswrite which does just that.
  2 commentaires
Ruben Verkempynck
Ruben Verkempynck le 3 Mai 2011
Thanks a lot!
Dyuman Joshi
Dyuman Joshi le 14 Oct 2023
For R2019a or later versions, use the more robust writematrix
Another robust option is converting array to a table and using writetable

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by