How do I convert data stored in a variable as a matrix to an excel file?

9 ビュー (過去 30 日間)
Joe
Joe 2014 年 12 月 1 日
回答済み: Matthew Schneck 2014 年 12 月 1 日
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

採用された回答

Image Analyst
Image Analyst 2014 年 12 月 1 日
Just call xlswrite
xlswrite(filename, yourMatrix, 'My Results', 'A1');

その他の回答 (1 件)

Matthew Schneck
Matthew Schneck 2014 年 12 月 1 日
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).

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by