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)

 Respuesta aceptada

Cris LaPierre
Cris LaPierre el 14 de Sept. de 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)

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 14 de Sept. de 2021

Respondida:

el 14 de Sept. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by