How do I convert data stored in a variable as a matrix to an excel file?
조회 수: 10 (최근 30일)
이전 댓글 표시
I would like to store data generated by MATLAB in a microsoft excel spreadsheet. What is the most efficient way of doing this? I do not want to do them individually by hand.
Thanks
댓글 수: 0
채택된 답변
Image Analyst
2014년 12월 1일
Just call xlswrite
xlswrite(filename, yourMatrix, 'My Results', 'A1');
댓글 수: 0
추가 답변 (1개)
Matthew Schneck
2014년 12월 1일
There is a built-in function that can do this for you called 'xlswrite'. It is much better than transcribing numbers by hand.
The syntax for this function is xlswrite(filename, variable_name, sheet).
댓글 수: 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!