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

1 comentario

Walter Roberson
Walter Roberson el 9 de Mayo de 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.

Iniciar sesión para comentar.

 Respuesta aceptada

Jonas
Jonas el 9 de Mayo de 2021

0 votos

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 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Preguntada:

el 9 de Mayo de 2021

Comentada:

el 9 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by