How can I export .mat file to .xls file?
2 views (last 30 days)
Show older comments
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
on 5 Aug 2024
You have to pass the matrix as input to 'xlswrite' function. For example - xlswrite(filename,matrix_name).
Answers (1)
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).
1 Comment
Star Strider
on 5 Aug 2024
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!