how to see the script of build-in function?

조회 수: 4 (최근 30일)
Yuji Zhang
Yuji Zhang 2014년 4월 14일
댓글: Yuji Zhang 2014년 4월 14일
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에서 Install Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by