Is there a limit to number of output arguments while calling a function?

5 ビュー (過去 30 日間)
Ashutosh
Ashutosh 2013 年 8 月 25 日
コメント済み: Ankan Biswas 2018 年 1 月 21 日
As I increased the number of output variables I get an error. Is there a solution to this?

採用された回答

the cyclist
the cyclist 2013 年 8 月 25 日
編集済み: the cyclist 2013 年 8 月 25 日
When you called the function, you have 6 output variables in the list, but inside the function itself you only list 5 output variables. That is the source of the error, not that you have too many in general. There needs to be a one-to-one correspondence in those two lists.
  3 件のコメント
Daniel Shub
Daniel Shub 2013 年 8 月 25 日
I am now curious if there is an upper limit.
Ankan Biswas
Ankan Biswas 2018 年 1 月 21 日
I think there is not. Need expert view on this.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by