Keep getting "too many input arguments"

5 visualizzazioni (ultimi 30 giorni)
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)

Risposta accettata

Cris LaPierre
Cris LaPierre il 14 Set 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)

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by