How do I convert data stored in a variable as a matrix to an excel file?
显示 更早的评论
I would like to store data generated by MATLAB in a microsoft excel spreadsheet. What is the most efficient way of doing this? I do not want to do them individually by hand.
Thanks
采纳的回答
更多回答(1 个)
Matthew Schneck
2014-12-1
0 个投票
There is a built-in function that can do this for you called 'xlswrite'. It is much better than transcribing numbers by hand.
The syntax for this function is xlswrite(filename, variable_name, sheet).
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!