Can we see the code of a function?

2 views (last 30 days)
I want to see how imgradient() function works. Can I see its code by any means?

Accepted Answer

Star Strider
Star Strider on 6 Feb 2016
You can probably see it by typing:
type imgradient.m
in the Command Window, or opening it in the Editor:
edit imgradient.m
I do not suggest that you actually edit the code! Just look at it to learn how it works.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!