Syntax error in function handling

1 次查看(过去 30 天)
Shahd Ewawi
Shahd Ewawi 2013-3-27
I dont understand this error ! Can any one help me ?
??? Output argument "segimage" (and maybe others) not assigned during call to "C:\Users\Shahd\Documents\MATLAB\gp.m>segm".
Error in ==> gp at 10 im=segm( hueThreshLow,hueThreshHigh);

回答(1 个)

Walter Roberson
Walter Roberson 2013-3-27
Your routine "segm" in file "gp.m" starts with
function segimage = segm(.... something )
but under at least some conditions, it does not assign any value to "segimage".

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by