how to list functions/toolboxes required by a program
Show older comments
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
Accepted Answer
More Answers (1)
Robert Cumming
on 12 Jan 2012
help depfun
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!