not enough input Arguments

What should i do about this error "Not enough input arguments".Please help

1 Comment

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

I am new to matlab. Can you give me the syntax to how to input argument
odDetect(yourImageVariable)
example
img = imread('flamingos.jpg');
out = odDectect(img) ;
Thank uou

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!