Getting error "Too many input arguments"
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I keep getting this error, even when I reduced myfunc to take in just one input as myfunc(a) and doing nothing in the function besides just passing it out as sSql = a.
methods function sSql = myfunc(a) sSql = a; end end
0 件のコメント
回答 (1 件)
Ashish Sheikh
2016 年 3 月 3 日
Are u trying to define that inside a class. If yes , how are you using its object,,?
3 件のコメント
Guillaume
2016 年 3 月 3 日
Well, if you're not using the object in the function, why is it a method of the object? At the very least, it should be a static method.
参考
カテゴリ
Help Center および File Exchange で Graphics Object Programming についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!