i am facing this error again and again. can any help me how to solve this problem?

1 view (last 30 days)
Attempt to execute SCRIPT watershed as a function:
C:\Users\arshadali\Desktop\new dataset\watershed.m
Error in Untitled2 (line 56)
L1 = watershed(I_mod);

Answers (2)

Arshad Ali
Arshad Ali on 14 Nov 2019
Screenshot (1033).png

Walter Roberson
Walter Roberson on 14 Nov 2019
C:\Users\arshadali\Desktop\new dataset\watershed.m needs to be renamed. It is interfering with calling https://www.mathworks.com/help/images/ref/watershed.html

Community Treasure Hunt

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

Start Hunting!