필터 지우기
필터 지우기

Not enough input argument error

조회 수: 1 (최근 30일)
Kaushal Kishore
Kaushal Kishore 2018년 9월 2일
댓글: Kaushal Kishore 2018년 9월 3일
Hi i have a matlab code which i have attached with my data. When i run the code it gives error in line 54 stating not enough input argument. Can anyone please check the code for me cause i am new to matlab and advice me accordingly. Many Thanks
  댓글 수: 7
Kaushal Kishore
Kaushal Kishore 2018년 9월 2일
I cannot attach the m file because it exceeds the limit.
madhan ravi
madhan ravi 2018년 9월 2일
see the clear explanation in the answer below.

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

채택된 답변

Walter Roberson
Walter Roberson 2018년 9월 2일
When you run a function from the editor then no parameters are provided for it, and most attempts to reference the variables will give exactly the error message that you see.
When you run a function, MATLAB will not look in the calling environment to try to find variables with the same name as the parameters. You have to pass the values at the time the function is invoked.
  댓글 수: 1
Kaushal Kishore
Kaushal Kishore 2018년 9월 3일
Hi i was able to run the cca function. I know want to plot the dy verses dx graph as shown in the code. Can you please help

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by