how to see the script of build-in function?

2 次查看(过去 30 天)
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~

采纳的回答

Walter Roberson
Walter Roberson 2014-4-14
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.
  1 个评论
Yuji Zhang
Yuji Zhang 2014-4-14
I see Walter. Thanks a lot!
I'll check some script of other functions to find out the things I want to see.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by