Keep getting "too many input arguments"

조회 수: 1 (최근 30일)
L McKeehan
L McKeehan 2021년 9월 14일
답변: Cris LaPierre 2021년 9월 14일
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)

채택된 답변

Cris LaPierre
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개)

카테고리

Help CenterFile Exchange에서 Construct and Work with Object Arrays에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by