not enough input arguments
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/643400/image.jpeg)
1 Commento
Risposte (3)
DGM
il 6 Giu 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/643455/image.png)
0 Commenti
Fathima Nasha
il 6 Giu 2021
1 Commento
DGM
il 6 Giu 2021
Modificato: DGM
il 6 Giu 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
il 10 Giu 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 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!