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

조회 수: 3 (최근 30일)
Shambhu Prasad
Shambhu Prasad 2020년 3월 2일
답변: Sahithi Metpalli 2020년 3월 5일
how to convert a matrix into excel format. I have used writetable command, its not working..

답변 (1개)

Sahithi Metpalli
Sahithi Metpalli 2020년 3월 5일
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')

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by