Too many output arguments error
조회 수: 3 (최근 30일)
이전 댓글 표시
A = magic(5);
B = writematrix(A, 'M.xls');
command window:
Error using writematrix
Too many output arguments.
Error in faf (line 2)
B = writematrix(A, 'M.xls');
채택된 답변
Voss
2023년 11월 2일
writematrix doesn't return any outputs.
Just say:
writematrix(A, 'M.xls')
What do you intend to be stored in B?
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!