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

3 次查看(过去 30 天)
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).

请先登录,再进行评论。

回答(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).

产品


版本

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by