Why am I getting these plot warnings?
9 ビュー (過去 30 日間)
古いコメントを表示
I am trying to do some simple plotting, plot(diff), and I keep getting these warnings Warning: Error updating Button. Not enough input arguments. at least 50 times before stopping. What Button is it talking about and how do I turn off these warnings?
2 件のコメント
the cyclist
2018 年 10 月 31 日
編集済み: the cyclist
2018 年 10 月 31 日
I would modify Walter's suggestion slightly, to recommend that you try to simplify your code down to the smallest version that exhibits the problem, and post that code.
In my experience, that process itself often exposes the bug.
回答 (4 件)
Ellen Braden
2018 年 10 月 31 日
1 件のコメント
Walter Roberson
2018 年 10 月 31 日
So your code just looks like loading some values into posA and posB, then
diff = posA(:,1) - posB(:,1);
plot(diff)
??
Note: it is not recommended to use diff as the name of a variable, as it is the name of a commonly used function.
Robert Barretto
2018 年 11 月 22 日
I have the same issue with Matlab 2018b. Luckily I can confirm that my code on Matlab 2016b does not produce this problem.
This is true on both Mac and PC.
9 件のコメント
John
2019 年 8 月 20 日
Thank-you Walter Roberson! I suddenly had the same problem. Something crept into my extensive paths. Now I have to reverse engineer and find the culprit in my paths.
Try
restoredefaultpath;
rehash toolboxcache
Stijn Helsen
2019 年 8 月 26 日
I had the same problem, and the provided solution solved my problem.
Thank you!!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!