Desktop Tools and Development Environment |
The Dependency Report shows dependencies among M-files in a directory. This helps you determine all the M-files you need to provide when you tell someone to run a particular M-file. If you do not provide all the dependent M-files along with the M-file you want them to run, they will not be able run the file. The report does not list as dependencies the M-files in the toolbox/matlab
directory because every MATLAB user already has those files.
Select Show child functions to see a list of all M-files (children) called by each M-file in the directory (parent). The report also indicates where each child function resides, for example, in a specified toolbox. If a child function's location is listed as unknown, it could be because the child function is not on the search path or in the current directory.
The Dependency Report is similar to running the depfun
function, although the two do not provide the exact same results. For performance purposes, the Dependency Report limits the functions considered.
Select Show parent functions to list the M-files that call each M-file. The report limits the parent (calling) functions to those in the current directory. Select Show subfunctions to include subfunctions in the report. Subfunctions are listed directly after the main function and are highlighted in gray.
Contents Report | File Comparison Report |
© 1994-2005 The MathWorks, Inc.