not enough input Arguments

1 次查看(过去 30 天)
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
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 个评论
Walter Roberson
Walter Roberson 2021-5-9
编辑:Walter Roberson 2021-5-9
example
img = imread('flamingos.jpg');
out = odDectect(img) ;

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by