not enough input Arguments

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

1 Commento

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.

Accedi per commentare.

 Risposta accettata

Jonas
Jonas il 9 Mag 2021

0 voti

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 Commenti

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by