Borrar filtros
Borrar filtros

How can I have an "input argument" error without input ?

1 visualización (últimos 30 días)
Antoine Devingt
Antoine Devingt el 2 de Mayo de 2016
Respondida: Antoine Devingt el 4 de Mayo de 2016
I have an issue with an "input argument" error but my function doesn't take any input. Can someone help me about it ?
  1 comentario
Stephen23
Stephen23 el 2 de Mayo de 2016
Please show us the complete error message, this means all of the red text (and not just the bits that look interesting to you).
Also show us exactly how you are *calling your function.

Iniciar sesión para comentar.

Respuestas (2)

Dave Behera
Dave Behera el 3 de Mayo de 2016
Can you show the function definition and the error? Are you sure you don't have multiple functions with the same name and that your function's name does not match a MATLAB built-in function?

Antoine Devingt
Antoine Devingt el 4 de Mayo de 2016
I found the solution. I just needed to add this.@function into fmincon to don't get this error. Thanks for the help.

Categorías

Más información sobre Logical 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