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

1 件のコメント

Walter Roberson
Walter Roberson 2021 年 5 月 9 日
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.

サインインしてコメントする。

 採用された回答

Jonas
Jonas 2021 年 5 月 9 日

0 投票

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 件のコメント

Fathima Nasha
Fathima Nasha 2021 年 5 月 9 日
I am new to matlab. Can you give me the syntax to how to input argument
Jonas
Jonas 2021 年 5 月 9 日
odDetect(yourImageVariable)
Walter Roberson
Walter Roberson 2021 年 5 月 9 日
編集済み: Walter Roberson 2021 年 5 月 9 日
example
img = imread('flamingos.jpg');
out = odDectect(img) ;
Fathima Nasha
Fathima Nasha 2021 年 5 月 9 日
Thank uou

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by