Filter löschen
Filter löschen

xlswrite to write in different columns

46 Ansichten (letzte 30 Tage)
Michael
Michael am 27 Jun. 2011
Kommentiert: huseyin tas am 26 Okt. 2019
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 Kommentar
huseyin tas
huseyin tas am 26 Okt. 2019
I have the same problem. Can someone help please?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 27 Jun. 2011
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by