not enough input arguments
1 view (last 30 days)
Show older comments
Someone please help me with this error.If someone can help me with this please contact me with my mail id fathimanashapk@cet.ac.in
1 Comment
Answers (3)
DGM
on 6 Jun 2021
The error is occurring because you're not providing the function odDetect with any arguments. A function will throw the error on the first line where the missing argument is needed. In this case, 'image' is missing.
As to why it's missing, nobody knows how you're calling odDetect. If you need to include the external code, include it as formatted code. Nobody can run a picture of code or scroll to parts that are hidden.
0 Comments
Fathima Nasha
on 6 Jun 2021
1 Comment
DGM
on 6 Jun 2021
Edited: DGM
on 6 Jun 2021
This isn't an answer. If you want to follow up with a comment on your question, post this as a comment there. If you want to post this as a comment on my answer, post it there.
We can talk once the conversation is in order, but I'll point out that nothing here calls odDetect().
Surabhi KS
on 10 Jun 2021
You need to call your function with the appropriate variables.
Call odDetect with its defined variables for example:
I = imread('pathtoyourimage');
odDetect(I)
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!