Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Not Enough Input Arguments

1 Ansicht (letzte 30 Tage)
Andrea Gómez
Andrea Gómez am 21 Jan. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 Kommentar
Adam
Adam am 21 Jan. 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.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by