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

15 Ansichten (letzte 30 Tage)
Shambhu Prasad
Shambhu Prasad am 2 Mär. 2020
Beantwortet: Sahithi Metpalli am 5 Mär. 2020
how to convert a matrix into excel format. I have used writetable command, its not working..

Antworten (1)

Sahithi Metpalli
Sahithi Metpalli am 5 Mär. 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')

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by