필터 지우기
필터 지우기

Error using plot Invalid first data argument. How i can solve it!?

조회 수: 1 (최근 30일)
antonio
antonio 2015년 5월 12일
답변: Walter Roberson 2015년 5월 13일
I ave this function, but when i start it, this returns me:
Error using plot
Invalid first data argument.
Error in cal_flowGP (line 53)
plot(flow);
any help please? Thanks a lot!
  댓글 수: 1
Star Strider
Star Strider 2015년 5월 12일
Typing:
whos flow
in your code or the Command Window may help you find the problem. Pay special attention to Class.

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

답변 (2개)

Sainath Varikuti
Sainath Varikuti 2015년 5월 13일
Check the values of the 'flow' variable in the MATLAB Workspace Window.

Walter Roberson
Walter Roberson 2015년 5월 13일
At that point in your code, "flow" is not a variable, so it is being interpreted as a call to the routine named "flow", but you are not passing arguments into that call.
You should check the variable names you are using; you will find that you assigned your data to some other name, or the place you assigned it is not in the same scope as where you are trying to use it.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by