save matlab output to excel

10 visualizaciones (últimos 30 días)
maryam
maryam el 2 de Sept. de 2013
Comentada: frankenberry el 26 de Mzo. de 2020
hi
i have some data in command window like:
n x y
1 9 7
2 2.5 3
3 45 23
.. .. ..
and i want to write them on excel file,in 3 different columns,could any body help me?
thanks in advance

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 2 de Sept. de 2013
Editada: Azzi Abdelmalek el 2 de Sept. de 2013
If M is your matrix
M=[1 9 7;2 2.5 3;3 45 23]
xlswrite('yourfile.xls',M)
  3 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 2 de Sept. de 2013
post your code
frankenberry
frankenberry el 26 de Mzo. de 2020
Azzi, any idea how to output to excel's next row in appdesigner?

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by