Error: Too many output arguments

1 次查看(过去 30 天)
Hi
I have a defined function:
function [ HrLPoints ] = harrislpls( img, TypeOfNBHOOD, NBHOOD, TypeOfCornerDetector, BorderDistance, ThreshType, HarrisThresh, k, Dilate, radius, sigma_nmbr, disp, SwitchWaitbars )
When i call this function from main file, i get an error message "Too many output arguments". All parameters/ variables are seemingly correctly passed to the function.
my Call to function is:
[ HrLPointsTmp1 ] = harrislpls( imgSimulated, TypeOfNBHOOD, NBHOOD, TypeOfCornerDetector, BorderDistanceMatrix, ThreshType, HarrisThresh, k, Dilate, radius, sigma_nmbr, disp, SwitchWaitbars );
  1 个评论
Stephen23
Stephen23 2019-5-14
@faheem ifti: please show us the complete error message. This means all of the red text.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2019-5-14
disp is the name of a function that cannot have output. You should avoid using it as the name of a variable.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Variables 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by