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

1 commentaire

Walter Roberson
Walter Roberson le 9 Mai 2021
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.

Connectez-vous pour commenter.

 Réponse acceptée

Jonas
Jonas le 9 Mai 2021

0 votes

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 commentaires

Fathima Nasha
Fathima Nasha le 9 Mai 2021
I am new to matlab. Can you give me the syntax to how to input argument
Jonas
Jonas le 9 Mai 2021
odDetect(yourImageVariable)
Walter Roberson
Walter Roberson le 9 Mai 2021
Modifié(e) : Walter Roberson le 9 Mai 2021
example
img = imread('flamingos.jpg');
out = odDectect(img) ;
Fathima Nasha
Fathima Nasha le 9 Mai 2021
Thank uou

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by