필터 지우기
필터 지우기

Too many output arguments

조회 수: 1 (최근 30일)
Pavithran Kandasamy
Pavithran Kandasamy 2018년 3월 5일
댓글: Geoff Hayes 2018년 3월 5일
I am getting error as "too many output arguments".Help me to resolve
  댓글 수: 2
Bob Thompson
Bob Thompson 2018년 3월 5일
편집: Bob Thompson 2018년 3월 5일
Could you please paste in some of your code which causes the problem? Matlab gives you a specific line, so if you could paste that line and any variable definition lines so we can understand what your variables mean.
Geoff Hayes
Geoff Hayes 2018년 3월 5일
Pavithran - this error message could indicate that your code has been written to expect more output arguments from some function than what is really returned. For example, the sum function returns just one parameter
x = sum([1,2,3]);
If I write the code to expect two output parameters like
[x, y] = sum([1, 2, 3])
then I observe the following error
Error using sum
Too many output arguments.

댓글을 달려면 로그인하십시오.

답변 (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