Can we see the code of a function?

4 visualizzazioni (ultimi 30 giorni)
I want to see how imgradient() function works. Can I see its code by any means?

Risposta accettata

Star Strider
Star Strider il 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.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by