where can I find the source code of function in Matlab2016b?

1 visualizzazione (ultimi 30 giorni)
most function can find in Matlab2015b, so I want to know where I can find the source code which only run under 2016b,such as function imageDatastore? thanks!

Risposte (1)

John D'Errico
John D'Errico il 18 Dic 2016
Many functions are provided as m-files. You can view an m-file by using the type function at the command line. Thus
type pca
Thus, from the stats toolbox, I can view the course code for the pca function as above.
NEVER use edit on provided files like this, as it is too easy to accidentally make changes to the code, thereby creating a bug in that code. You would then need to download MATLAB again to repair the problem.
For compiled functions, source code is never provided. Period.

Categorie

Scopri di più su Dimensionality Reduction and Feature Extraction in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by