image thumbnail

fdep: a pedestrian function dependencies finder

version 1.7.0.0 (266 KB) by us
FDEP dissects ML files and iteratively looks for all user defined functions used during runtime

12.8K Downloads

Updated 20 Jun 2010

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

FDEP dissects MATLAB files and iteratively looks for all user defined functions (modules), which are used during runtime

FDEP retrieves for each module its
- subfunctions
- nested functions
- anonymous functions
- eval class calls
- unresolved calls
and all
- ML stock functions
- ML built-in functions
- ML classes
- ML toolboxes
that it uses

runtime options and returned macros create user-friendly,
intuitively comprehensible, and interactive GUIs, which
- list the results in various panels and listboxes
- plot a full synopsis for each module with
exhaustive information
- plot a full dependency matrix
- plot a runtime and modules tree

in essence, FDEP is a wrapper for DEPFUN and MLINT; however, due to an efficient pruning engine it is considerably (20-100 times!) faster

FDEP is particularly useful if you want to distribute your functions and need so see what else to include as well as the toolboxes they use

FDEP may be useful to debug an erroneous function with correct syntax

see
> help fdep
and the accompanying published M-file for help and an exhaustive example

Cite As

us (2021). fdep: a pedestrian function dependencies finder (https://www.mathworks.com/matlabcentral/fileexchange/17291-fdep-a-pedestrian-function-dependencies-finder), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!