xlswrite to write in different columns

4 ビュー (過去 30 日間)
Michael
Michael 2011 年 6 月 27 日
コメント済み: huseyin tas 2019 年 10 月 26 日
Is there a way to have xlswrite paste in data into another column besides the first column? I'm trying to write a program to combine different 1 column matrix data into one excel file. I could try putting them in as different sheets in the document, but is there a way to, say, specify that array X is exported into column B of New.xls?
  1 件のコメント
huseyin tas
huseyin tas 2019 年 10 月 26 日
I have the same problem. Can someone help please?

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

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2011 年 6 月 27 日
Yes. See help xlswrite
XLSWRITE(FILE,ARRAY,SHEET,RANGE)
SUCCESS = XLSWRITE('c:\matlab\work\myworkbook.xls',A,'A2:C4')
Or, it is easier to combine data in MATLAB and then write it once to xls file.

カテゴリ

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