not enough input Arguments
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/612320/image.jpeg)
What should i do about this error "Not enough input arguments".Please help
1 Comment
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.
Accepted Answer
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
on 9 May 2021
Edited: Walter Roberson
on 9 May 2021
example
img = imread('flamingos.jpg');
out = odDectect(img) ;
More Answers (0)
See Also
Categories
Find more on Environment and Settings 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!