Keep getting "too many input arguments"

5 Ansichten (letzte 30 Tage)
L McKeehan
L McKeehan am 14 Sep. 2021
Beantwortet: Cris LaPierre am 14 Sep. 2021
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)

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 14 Sep. 2021
Methods are called just like functions, with the object passed in as one of the arguments. Try this:
a = lm25119_calcs;
HsFETlosses(a,1)

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by