Converting a .mat file to .xls
1 view (last 30 days)
Show older comments
Hi there,
Is there anyway to convert a .mat file to an excel file in matlab?
Thank you
0 Comments
Answers (2)
Kaustubha Govind
on 24 Feb 2012
You need to write MATLAB code to do this. First load the contents of the MAT-file into the workspace using the load command. You can then get the names of the variables in the workspace by using something like:
varNames = who;
Be careful to not get variables that you may have created before the MAT-file was loaded.
0 Comments
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!