I am using writetable for exporting the workspace variables into excel sheet
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a excel template in which I export the matlab workspace variables
I am using this code --> writematrix(variables_1,'result.xlsx','Sheet',1,'Range','B2');
After extraction the file changes its column width which I fixed earlier as a template
댓글 수: 0
답변 (1개)
dpb
2023년 4월 13일
Read the rest of the doc, specifically the <named parameters for spreadsheets only> section, you'll be particularly interested in AutoFitWidth — Automatically adjust column width
true (default) | false
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!