MATLAB: How to solve the error ‘undefined function “branchpoints” in matlab’

function branchpoints

I have used the code:
Suppose I is the binary image.
It=bwmorph(I,'skel');
B=bwmorph(It,'branchpoints');
But there is error with 'undefined function "branchpoints"
how to solve it? Please help me

Best Answer

It works well with my Matlab, which version are you using? On the command line type "ver".
Related Question