arrange the values in an array
Show older comments
I have an array A(80 rows and 5 columns). I want to export it as a table to microsoft word as the values in A (i:i+4,j)are placed in one cell with no cell line between them. Not sure if it's possible in Matlab.
3 Comments
Andrei Bobrov
on 29 Apr 2011
Hi Hassan, in this case i = 1: size (A,1) -4, is not it?
Hassan
on 29 Apr 2011
Andrei Bobrov
on 29 Apr 2011
agree or Excel or textfile.txt
Accepted Answer
More Answers (1)
Friedrich
on 29 Apr 2011
Or you can use Word as Com Server. I prepared a little example for you:
e = actxserver('Word.Application')
e.visible = 1
doc = e.newDocument.Application.Documents.Add
doc.Content.InsertAfter('text')
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!