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');

1 件のコメント

Samuel Vadovic
Samuel Vadovic 2023 年 11 月 2 日
I really dont get why this started to happen suddenly...

サインインしてコメントする。

 採用された回答

Voss
Voss 2023 年 11 月 2 日

0 投票

writematrix doesn't return any outputs.
Just say:
writematrix(A, 'M.xls')
What do you intend to be stored in B?

2 件のコメント

Samuel Vadovic
Samuel Vadovic 2023 年 11 月 2 日
thanks, that solved it
Voss
Voss 2023 年 11 月 2 日
You're welcome!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2023 年 11 月 2 日

コメント済み:

2023 年 11 月 2 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by