xlswrite substitute that writes to specific columns
조회 수: 2 (최근 30일)
이전 댓글 표시
I would like to write a matrix to specific columns and rows of excel. xlswrite has this option but for compatibility issues I would want to find a substitue for it. Writetable or writematrix does not have this option (xlswrite(filename,A,xlRange)).
Any idea?
댓글 수: 0
채택된 답변
Jeremy Hughes
2021년 4월 10일
This syntax is equivalent to writematrix(A,filename,'Range',xlRange)
댓글 수: 2
Jeremy Hughes
2021년 4월 11일
Note the signatures are different.
The first input is the data, and the second input is the file name. Subsequent inputs need to be Name-Value pairs.
The correct calling syntax would be:
writematrix(B(:,2),fullFileNameofxy,'Sheet',sheet,'Range',xlRange)
추가 답변 (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!