dependencies.fileDependencyAnalysis
Find model file dependencies
Syntax
Description
returns the full paths of all existing files referenced by the model
files
= dependencies.fileDependencyAnalysis("modelname
")modelname
.
[
also
returns files
,missing
]
= dependencies.fileDependencyAnalysis("modelname
")missing
, any referenced files that cannot be found.
[
also
returns the full path of the user dependencies (files
,missing
,depfile
]
= dependencies.fileDependencyAnalysis("modelname
").smd
), if it exists, that
stores the names of any files the user manually added or excluded.
[
also creates a manifest file specified in files
,missing
,depfile
,manifestfile
] = dependencies.fileDependencyAnalysis("modelname
",ManifestFile
=manifestFileName)ManifestFile
.
[___] = dependencies.fileDependencyAnalysis("
specifies additional options as one or more name-value arguments.modelname
",Name=Value
)
Examples
Input Arguments
Output Arguments
Tips
Interactively generate a dependency graph and a report summarizing the list of required files and products. For more details, see Analyze Model Dependencies.
If your model is in a project, use
listRequiredFiles
instead.To programmatically check which add-ons are required, use
dependencies.toolboxDependencyAnalysis
instead.