Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Not Enough Input Arguments

1 visualizzazione (ultimi 30 giorni)
Andrea Gómez
Andrea Gómez il 21 Gen 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Hello, when I try to run the following equation the program throws the message of: Not enough input arguments.
Xmin=min(XY(:,1:1));
XY is a file that contains the coordinates of X and Y. I have modified it in different ways but I can not find the error so I went back to the original problem.
Beforehand thank you very much,
Andrea Gómez
  1 Commento
Adam
Adam il 21 Gen 2019
What do you mean by 'XY is a file'? And where is XY and where/how are you calling that code?
XY needs to be a 3d array within the workspace in which you are calling that code.
If XY is a file then you would need to read the file into an array first. Your error would suggest you are calling this code from inside a function where XY is supposed to be one of the input arguments, but you are not passing it in.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by