Error: Too many output arguments
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
faheem ifti
el 14 de Mayo de 2019
Respondida: Walter Roberson
el 14 de Mayo de 2019
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 );
Respuesta aceptada
Walter Roberson
el 14 de Mayo de 2019
disp is the name of a function that cannot have output. You should avoid using it as the name of a variable.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Variables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!