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

2 views (last 30 days)
Sunipa Som
Sunipa Som on 5 Aug 2024
Commented: Sunipa Som on 6 Aug 2024
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 Comments
Infinite_king
Infinite_king on 5 Aug 2024
You have to pass the matrix as input to 'xlswrite' function. For example - xlswrite(filename,matrix_name).

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 5 Aug 2024
Edited: Cris LaPierre on 5 Aug 2024
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).

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!