Error using plot Invalid first data argument. How i can solve it!?
1 次查看(过去 30 天)
显示 更早的评论
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
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
2015-5-13
Check the values of the 'flow' variable in the MATLAB Workspace Window.
0 个评论
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!