How can I export .mat file to .xls file?

2 ビュー (過去 30 日間)
Sunipa Som
Sunipa Som 2024 年 8 月 5 日
コメント済み: Sunipa Som 2024 年 8 月 6 日
How can I export .mat file to .xls file? I am using xlswrite('filename.xls') but not working. I have 50x50 deta. Kindly help me.
  3 件のコメント
Infinite_king
Infinite_king 2024 年 8 月 5 日
You have to pass the matrix as input to 'xlswrite' function. For example - xlswrite(filename,matrix_name).
Sunipa Som
Sunipa Som 2024 年 8 月 6 日
Thank you

サインインしてコメントする。

回答 (1 件)

Cris LaPierre
Cris LaPierre 2024 年 8 月 5 日
編集済み: Cris LaPierre 2024 年 8 月 5 日
I'd recommend using writematrix (homogenous data) or writetable (for table data type) after first loading the mat file variable to the MATLAB workspace (see load).
  1 件のコメント
Star Strider
Star Strider 2024 年 8 月 5 日
@Cris LaPierre@Sunipa Som has R2015a. The writematrix function was introduced in R2019a.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by