How can I export .mat file to .xls file?
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
First you have to load the data to MATLAB Workspace. Are you facing any error? Refer this resource - Write Data to Excel Spreadsheets.
Infinite_king
on 5 Aug 2024
You have to pass the matrix as input to 'xlswrite' function. For example - xlswrite(filename,matrix_name).
Sunipa Som
on 6 Aug 2024
Answers (1)
Cris LaPierre
on 5 Aug 2024
Edited: Cris LaPierre
on 5 Aug 2024
0 votes
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
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!