- The files in the folder for which you are running the report do not change the search
path or otherwise manipulate it. - The files in the folder do not load variables, or otherwise create name clashes that
result in different program elements with the same name.
NoteDo not use the Dependency Report to determine which MATLAB code files someone
else needs to run a particular file. Instead use the
matlab.codetools.requiredFilesAndProducts function.
Creating Dependency Reports
(^1) Use the Current Folder pane to navigate to the folder containing the files for which
you want to produce a Dependency Report.
NoteYou cannot run reports when the path is a UNC (Universal Naming Convention)
path; that is, a path that starts with \. Instead, use an actual hard drive on your
system, or a mapped network drive.
(^2) On the Current Folder pane, click , and then select Reports > Dependency
Report.
The Dependency Report opens in the MATLAB Web Browser.
(^3) If you want, select one or more options within the report, as follows:
- To see a list of all MATLAB code files (children) called by each file in the folder
(parent), select Show child functions.
The report indicates where each child function resides, for example, in a specified
toolbox. If the report specifies that the location of a child function is unknown, it
can be because:
- The child function is not on the search path.
- The child function is not in the current folder.
- The file was moved or deleted.
- To list the files that call each MATLAB code file, select Show parent functions.
The report limits the parent (calling) functions to functions in the current folder.
25 Programming Utilities