Converting a .mat file to .xls
2 次查看(过去 30 天)
显示 更早的评论
Hi there,
Is there anyway to convert a .mat file to an excel file in matlab?
Thank you
0 个评论
回答(2 个)
Kaustubha Govind
2012-2-24
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!