not enough input arguments
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (3개)
DGM
2021년 6월 6일
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
Fathima Nasha
2021년 6월 6일
댓글 수: 1
DGM
2021년 6월 6일
편집: DGM
2021년 6월 6일
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
2021년 6월 10일
You need to call your function with the appropriate variables.
Call odDetect with its defined variables for example:
I = imread('pathtoyourimage');
odDetect(I)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!