how to convert a matrix into excel format in MATLAB 2018B

14 visualizaciones (últimos 30 días)
Shambhu Prasad
Shambhu Prasad el 2 de Mzo. de 2020
Respondida: Sahithi Metpalli el 5 de Mzo. de 2020
how to convert a matrix into excel format. I have used writetable command, its not working..

Respuestas (1)

Sahithi Metpalli
Sahithi Metpalli el 5 de Mzo. de 2020
Hi,
You cannot directly write a matrix to excel in MATLAB2018b.You should first convert matrix to table and then use the writetable function as shown in the code below
table =array2table(matrix)
writetable(table,'filename.xls')

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by