Error when using decsg (PDE Toolbox)
11 views (last 30 days)
I recently encountered a problem with the function "decsg.m" of the PDE Toolbox. I normally use this function to generate a FE mesh after segmenting an image. This script has always worked.
I just rerunned some old data, and I got this error:
""Error in decsg (line 103) if isempty(gd), dl1=; bt1=; dl=; bt=; msb=; return, end
Output argument "dl1" (and maybe others) not assigned during call to "D:\USlib\decsg.m>decsg"."
This is quite weird and very surprising. I checked the input variables, they are all ok. No conflicts ... what's wrong here?
More Answers (2)
Friedrich on 6 Feb 2012
is the variable gd (first input to the descsg function) empty? I am wondering about the location of the decsg.m function. Normally it should be in a subfolder called:
Can you run which -all decsg to see if you maybe overlaoded that function?