Excel XLSWRITE problem (help)
조회 수: 12 (최근 30일)
이전 댓글 표시
Hi guys , I have some variables which need to get copied in an excel sheet. The variables gets changed every time I run the GUI program. Now when I try it with the XLSWRITE it overwrites the previous value, but I need to collect all the data. How to do that? I try to search answer online but doesn't work... It will be much helpful if we are able to store the variables in a specific columns of an excel sheet. Let say for variable A ,it should be able to store it in A1, B in B1 etc... Thanks.
댓글 수: 0
채택된 답변
Walter Roberson
2018년 2월 28일
Pass the sheet reference to xlswrite as the third parameter and pass the range as the fourth parameter.
To check: are you using Windows with excel installed? Are you writing to xls or xlsx or are you writing to csv?
댓글 수: 3
추가 답변 (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!


