Keep getting "too many input arguments"
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I keep getting
Error using lm25119_calcs/HsFETlosses
Too many input arguments.
for the attached class when I do the following:
a = lm25119_calcs
b = a.HsFETlosses(a,1)
댓글 수: 0
채택된 답변
Cris LaPierre
2021년 9월 14일
Methods are called just like functions, with the object passed in as one of the arguments. Try this:
a = lm25119_calcs;
HsFETlosses(a,1)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Construct and Work with Object Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!