arrange the values in an array
이전 댓글 표시
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
Andrei Bobrov
2011년 4월 29일
Hi Hassan, in this case i = 1: size (A,1) -4, is not it?
Hassan
2011년 4월 29일
Andrei Bobrov
2011년 4월 29일
agree or Excel or textfile.txt
채택된 답변
추가 답변 (1개)
Friedrich
2011년 4월 29일
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')
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!