Writing into excell spreadsheet using matlab

1 回表示 (過去 30 日間)
Vivekram
Vivekram 2013 年 5 月 8 日
Hi,
Can anyone help me out by explaining how to write into a excel spreadsheet from MATLAB. I am aware that, I need to use xlswrite. However, when I try to write a string into one rectangular box of a sheet, the string is entered as each alphabet into each box. For eg:
If I want to enter 'Hello' into the box B2 of the sheet, I somehow get, 'H' in B2, 'e' in C2,'l' in D2, 'l' in E2 & 'o' in F2.
Can you tell me please as I can solve this problem.
Thanks.
Vivekram

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 8 日
xlswrite('filname.xls',cellstr('hello'))
  1 件のコメント
Vivekram
Vivekram 2013 年 5 月 8 日
Awesome thanks very much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Export to MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by