Not enough input arguments

2 vues (au cours des 30 derniers jours)
Sarah Smith
Sarah Smith le 17 Juin 2019
Modifié(e) : Sarah Smith le 18 Juin 2019
What does not enugh input arguments mean when you run a code?
  1 commentaire
Star Strider
Star Strider le 17 Juin 2019
What line throws the error?

Connectez-vous pour commenter.

Réponses (1)

John D'Errico
John D'Errico le 17 Juin 2019
What is the purpose of that line? Lets see...
help square
'square' requires Signal Processing Toolbox.
So, assuming that you have the SP toolbox, the error message says that you are not calling square properly, since it is apparently a function that requires arguments.
Or, perhaps you wrote something called square of your own. We don't know what was your intent on that line, merely that you nee to use it properly.

Community Treasure Hunt

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

Start Hunting!

Translated by