필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by