I run the file srm_demo.m and these eroors came up
Undefined function or method 'srm_boundarygradient' for input arguments of type 'double'.
Error in ==> srm at 125
bgradient = sparse(srm_boundarygradient(labels, nlabels, normgradient));
Error in ==> srm_demo at 8
Can you please tell me how to fix this. I am in very urgent need of help. And also, thanks for the code.