How do I access the source code for built-in functions and applications in MATLAB?
22 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 31 Mar 2024
Is the source code for built-in functions such as EIG, FFT, RAND, SORT, or backslash (\) available? What about built-in applications such as the Matching Network Designer App?
Accepted Answer
MathWorks Support Team
on 31 Mar 2024
Edited: MathWorks Support Team
on 31 Mar 2024
A built-in function is part of the MATLAB executable. MATLAB does not implement these functions in the MATLAB language. Although most built-in functions have a M-file associated with them, this file only supplies documentation for the function. The source code detailing the implementation of built-in functions and applications is confidential and proprietary information of MathWorks, Inc. We cannot send the source code for functions or applications to customers.
However, some details about the algorithms used for many of these functions, including EIG, FFT, and the backslash (\), are available in the help documentation. Please type:
doc eig
doc fft
doc mldivide
from the MATLAB command prompt.
If you are interested in the RAND or RANDN functions, you can read more information about them in two Cleve's Corner articles available at the following locations:
If you are interested in the Matching Network Designer App, you can learn more about the functions used in the application at the following documentation link:
0 Comments
More Answers (0)
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!