Keep getting "too many input arguments"

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

製品

リリース

R2021a

タグ

質問済み:

2021 年 9 月 14 日

回答済み:

2021 年 9 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by