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 Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2021년 5월 9일

댓글:

2021년 5월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by