Borrar filtros
Borrar filtros

Too many output arguments

1 visualización (últimos 30 días)
Pavithran Kandasamy
Pavithran Kandasamy el 5 de Mzo. de 2018
Comentada: Geoff Hayes el 5 de Mzo. de 2018
I am getting error as "too many output arguments".Help me to resolve
  2 comentarios
Bob Thompson
Bob Thompson el 5 de Mzo. de 2018
Editada: Bob Thompson el 5 de Mzo. de 2018
Could you please paste in some of your code which causes the problem? Matlab gives you a specific line, so if you could paste that line and any variable definition lines so we can understand what your variables mean.
Geoff Hayes
Geoff Hayes el 5 de Mzo. de 2018
Pavithran - this error message could indicate that your code has been written to expect more output arguments from some function than what is really returned. For example, the sum function returns just one parameter
x = sum([1,2,3]);
If I write the code to expect two output parameters like
[x, y] = sum([1, 2, 3])
then I observe the following error
Error using sum
Too many output arguments.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by