Xlswrite into one column
조회 수: 5 (최근 30일)
이전 댓글 표시
I have code that loops through the rows in a table and returns a values from them. How would I write each value into a column, with val1 being in row 1, val2 in row 2, etc?
댓글 수: 0
답변 (1개)
dpb
2015년 2월 3일
Fastest will be to collect the array and do the write in "one swell foop"...
xlswrite('yourExcelFile',val(:))
NB: the (:) ensures the val array is column-oriented.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!