how to see the script of build-in function?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Yuji Zhang
le 14 Avr 2014
Commenté : Yuji Zhang
le 14 Avr 2014
Hi all~
I put "edit sum" in the command line. And I only saw the notes about it (begin with %). How can I see the script of this function?
Thanks~
0 commentaires
Réponse acceptée
Walter Roberson
le 14 Avr 2014
There is no "script" for it. sum() is coded in lower level code, such as C or Fortran, and is accessed from MATLAB in binary form. You cannot use a "decompiler" to "reverse engineer" the code without violating your license agreement.
To get access to the source that Mathworks uses for sum(), you need to get a job or internship at Mathworks.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Install Products dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!