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!