Can we see the code of a function?

1 vue (au cours des 30 derniers jours)
Navdeep Sony
Navdeep Sony le 6 Fév 2016
Commenté : Star Strider le 6 Fév 2016
I want to see how imgradient() function works. Can I see its code by any means?

Réponse acceptée

Star Strider
Star Strider le 6 Fév 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.
  2 commentaires
Navdeep Sony
Navdeep Sony le 6 Fév 2016
Thank you
Star Strider
Star Strider le 6 Fév 2016
My pleasure.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by