how to list functions/toolboxes required by a program

22 次查看(过去 30 天)
Hi there. I am part of a relatively small scientific community and many of us develop custom code for data analysis. We share with each other, but one of the problems I've often come across is code not working because either I don't have the appropriate toolbox, or I received the main program but not one of the custom-written functions required.
It's not a huge deal, but it's annoying and wastes time troubleshooting and exchanging emails back and forth. Is there a script or function that can search through a Matlab m-file and return a list of all the function calls and/or toolboxes? It would also be nice to distinguish between (purchased) toolbox functions and custom-written functions.
Any help would be appreciated. Thanks!
Michael

采纳的回答

Matt Tearle
Matt Tearle 2012-1-12
I think the answers to this question cover all the options I know of: http://www.mathworks.com/matlabcentral/answers/532-how-do-i-tell-which-toolboxes-my-program-uses
  2 个评论
Michael
Michael 2012-1-12
Thanks for the quick answer. I can't believe I didn't find this during my search
Michael
Matt Tearle
Matt Tearle 2012-1-12
Do you remember what you searched for/how you searched? That could be useful feedback for the MATLAB Central team.

请先登录,再进行评论。

更多回答(1 个)

Robert Cumming
Robert Cumming 2012-1-12

类别

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