not enough input arguments
1 回表示 (過去 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!