not enough input Arguments

3 views (last 30 days)
Fathima Nasha
Fathima Nasha on 9 May 2021
Commented: Fathima Nasha on 9 May 2021
What should i do about this error "Not enough input arguments".Please help
  1 Comment
Walter Roberson
Walter Roberson on 9 May 2021
The code in the error message does not appear in your posted code.
The line number in the error message is after the last line of posted code.

Sign in to comment.

Accepted Answer

Jonas
Jonas on 9 May 2021
you tried to call your function odDetect without an input argument although you need one. you have give the inage to the function, i.e. you have to load it as a variable / create it somehow and give that variable to the function
  4 Comments
Walter Roberson
Walter Roberson on 9 May 2021
Edited: Walter Roberson on 9 May 2021
example
img = imread('flamingos.jpg');
out = odDectect(img) ;

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!