where can I find the source code of function in Matlab2016b?
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
John D'Errico
2016-12-18
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!