- R2019a
- R2018b <--- your documentation
- R2018a
- R2017b
- R2017a
- R2016b
- R2016a
- R2015b
- R2015a
- R2014b
- R2014a
- R2013b
- R2013a
- R2012b
- R2012a
- R2011b
- R2011a
- R2010b
- R2010a
- R2009b
- R2009a
- R2008b
- R2008a
- R2007b
- R2007a
- R2006b
- R2006a
- R14SP3
- R14SP2
- R14
writematrix, writetable, writecell not working?
조회 수: 82 (최근 30일)
이전 댓글 표시
Hi, I am trying to save data in .csv, .txt and .xls format. Matlab recommends to use writematrix, writetable or writecell instead of xlswrite. But when I try it these functions are not working, this is the error message that I got when I tried the exact example shown on Matlab page https://uk.mathworks.com/help/matlab/ref/writematrix.html.
"Undefined function or variable 'writematrix'."
the example that I tried is:
M = magic(5);
writematrix(M,'M_tab.txt','Delimiter','tab');
댓글 수: 0
답변 (1개)
Adam Danz
2019년 11월 21일
편집: Adam Danz
2019년 11월 24일
writematrix() was released in r2019a. You are using r2018b which is why that function is not defined.
Here are links to the documentation for specific release. Use the r2018b documentation for your current version of matlab.
댓글 수: 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!