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

4 ビュー (過去 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 Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by